Generic unix makefiles: Add additional warning options.

Mostly for gcc 4.
This commit is contained in:
Robert Moore 2009-12-18 12:33:38 -08:00
parent b5e61bc8ab
commit 24a732b0d5

View File

@ -50,10 +50,18 @@ CWARNINGFLAGS = \
# gcc 4+ flags
#
CWARNINGFLAGS+= \
-Waggregate-return \
-Wchar-subscripts \
-Waddress \
-Wempty-body \
-Wlogical-op \
-Wmissing-declarations \
-Wmissing-field-initializers \
-Wmissing-parameter-type \
-Wnested-externs \
-Wold-style-declaration \
-Wold-style-definition \
-Wredundant-decls \
-Wtype-limits
#
@ -64,6 +72,7 @@ CWARNINGFLAGS+= \
# -Wunreachable-code \
# -Wcast-qual \
# -Wconversion
# -Wshadow \
#
# Bison/Flex configuration