removed -Wbad-function-cast -Wmissing-declarations -Wnested-externs
authorKent Mein <mein@cs.umn.edu>
Fri, 5 Mar 2004 21:29:34 +0000 (21:29 +0000)
committerKent Mein <mein@cs.umn.edu>
Fri, 5 Mar 2004 21:29:34 +0000 (21:29 +0000)
from LEVEL_2_CPP_WARNINGS since they aren't valid for c++
(Note they are still in the LEVEL_2_C_WARNINGS)

Kent

source/nan_warn.mk

index 072620d24ab7f9e852b7e5fc448b6d9025639a17..66a3fa0174535b2542267a2081286f702a3c9b5d 100644 (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