Fix compiler warnings

This commit is contained in:
Don Gagne
2014-07-07 15:11:46 -07:00
parent be73ad0bdb
commit 680ebf29c3
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