aboutsummaryrefslogtreecommitdiff
path: root/makefiles/toolchain_gnu-arm-eabi.mk
diff options
context:
space:
mode:
authorPavel Kirienko <pavel.kirienko@gmail.com>2014-07-08 19:51:19 +0400
committerPavel Kirienko <pavel.kirienko@gmail.com>2014-07-08 19:51:19 +0400
commit56649bd10a414a91237dd11142b33851b2a9015c (patch)
treeaab55ec53ce8013d8e482eba9a9d75c9cc476446 /makefiles/toolchain_gnu-arm-eabi.mk
parent664795c9db9a0d938cbe7221aed87755ca8de7bf (diff)
parent0054eb23d857844ebae34a7d198fc60e538ccd3c (diff)
downloadpx4-firmware-56649bd10a414a91237dd11142b33851b2a9015c.tar.gz
px4-firmware-56649bd10a414a91237dd11142b33851b2a9015c.tar.bz2
px4-firmware-56649bd10a414a91237dd11142b33851b2a9015c.zip
Merge branch 'master' into uavcan
Diffstat (limited to 'makefiles/toolchain_gnu-arm-eabi.mk')
-rw-r--r--makefiles/toolchain_gnu-arm-eabi.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefiles/toolchain_gnu-arm-eabi.mk b/makefiles/toolchain_gnu-arm-eabi.mk
index 173c20186..71c7fb49f 100644
--- a/makefiles/toolchain_gnu-arm-eabi.mk
+++ b/makefiles/toolchain_gnu-arm-eabi.mk
@@ -139,7 +139,11 @@ ARCHWARNINGS = -Wall \
-Werror=format-security \
-Werror=array-bounds \
-Wfatal-errors \
- -Wformat=1
+ -Wformat=1 \
+ -Werror=unused-but-set-variable \
+ -Werror=unused-variable \
+ -Werror=double-promotion \
+ -Werror=reorder
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
# -Wconversion - would be nice, but too many "risky-but-safe" conversions in the code
# -Wcast-align - would help catch bad casts in some cases, but generates too many false positives