re-enable warnings/errors

This commit is contained in:
Thomas Gubler
2015-01-23 07:16:07 +01:00
parent 1e504478a0
commit 1ad6e00234

View File

@@ -125,26 +125,26 @@ ARCHCXXFLAGS = -fno-exceptions -fno-rtti -std=gnu++0x -fno-threadsafe-statics
# Generic warnings
#
# ARCHWARNINGS = -Wall \
# -Wextra \
# -Werror \
# -Wdouble-promotion \
# -Wshadow \
# -Wfloat-equal \
# -Wframe-larger-than=1024 \
# -Wpointer-arith \
# -Wlogical-op \
# -Wmissing-declarations \
# -Wpacked \
# -Wno-unused-parameter \
# -Werror=format-security \
# -Werror=array-bounds \
# -Wfatal-errors \
# -Wformat=1 \
# -Werror=unused-but-set-variable \
# -Werror=unused-variable \
# -Werror=double-promotion \
# -Werror=reorder
ARCHWARNINGS = -Wall \
-Wextra \
-Werror \
-Wdouble-promotion \
-Wshadow \
-Wfloat-equal \
-Wframe-larger-than=1024 \
-Wpointer-arith \
-Wlogical-op \
-Wmissing-declarations \
-Wpacked \
-Wno-unused-parameter \
-Werror=format-security \
-Werror=array-bounds \
-Wfatal-errors \
-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