removed -Wbad-function-cast -Wmissing-declarations -Wnested-externs

from LEVEL_2_CPP_WARNINGS since they aren't valid for c++
(Note they are still in the LEVEL_2_C_WARNINGS)

Kent
This commit is contained in:
Kent Mein
2004-03-05 21:29:34 +00:00
parent b5fef06a95
commit 8a7110a19a

View File

@@ -134,14 +134,11 @@ ifeq ($(CCC),g++)
# deliberately enable char-subscript warnings
LEVEL_2_CPP_WARNINGS += -Wshadow
LEVEL_2_CPP_WARNINGS += -Wpointer-arith
LEVEL_2_CPP_WARNINGS += -Wbad-function-cast
LEVEL_2_CPP_WARNINGS += -Wcast-qual
LEVEL_2_CPP_WARNINGS += -Wcast-align
# deliberately disable aggregate-return warnings
LEVEL_2_CPP_WARNINGS += -Wstrict-prototypes
LEVEL_2_CPP_WARNINGS += -Wmissing-prototypes
LEVEL_2_CPP_WARNINGS += -Wmissing-declarations
LEVEL_2_CPP_WARNINGS += -Wnested-externs
LEVEL_2_CPP_WARNINGS += -Wredundant-decls
LEVEL_2_CPP_WARNINGS += -Wreorder
LEVEL_2_CPP_WARNINGS += -Wctor-dtor-privacy