From 8a7110a19a2eb753c1a4cc8117e7da763a959bf0 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 5 Mar 2004 21:29:34 +0000 Subject: [PATCH] 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 --- source/nan_warn.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/nan_warn.mk b/source/nan_warn.mk index 072620d24ab..66a3fa01745 100644 --- a/source/nan_warn.mk +++ b/source/nan_warn.mk @@ -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