diff options
author | Don Gagne <don@thegagnes.com> | 2014-07-07 15:11:46 -0700 |
---|---|---|
committer | Don Gagne <don@thegagnes.com> | 2014-07-07 15:11:46 -0700 |
commit | 680ebf29c3f8298e63d4c4d9c9076464e6f4b3c1 (patch) | |
tree | e2937f8482b15a271769ee4b8c6966ce6a2238e3 /makefiles/toolchain_gnu-arm-eabi.mk | |
parent | be73ad0bdb932e35cf891e8f5ffc1b89fdd683dc (diff) | |
download | px4-firmware-680ebf29c3f8298e63d4c4d9c9076464e6f4b3c1.tar.gz px4-firmware-680ebf29c3f8298e63d4c4d9c9076464e6f4b3c1.tar.bz2 px4-firmware-680ebf29c3f8298e63d4c4d9c9076464e6f4b3c1.zip |
Fix compiler warnings
Diffstat (limited to 'makefiles/toolchain_gnu-arm-eabi.mk')
-rw-r--r-- | makefiles/toolchain_gnu-arm-eabi.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/makefiles/toolchain_gnu-arm-eabi.mk b/makefiles/toolchain_gnu-arm-eabi.mk index 808b635bb..d8d45d34e 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 |