Merge pull request #1145 from DonLakeFlyer/MoreWarnings

Fix compiler warnings
This commit is contained in:
Lorenz Meier
2014-07-08 07:32:36 +02:00
7 changed files with 24 additions and 13 deletions
+5 -1
View File
@@ -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