Fix for bug #8329: approximate AO with shadow disabled gave artifacts.
[blender-staging.git] / source / nan_warn.mk
index 072620d24ab7f9e852b7e5fc448b6d9025639a17..ee01f47f54942354f4f82f3ee8109ea93e8a7a16 100644 (file)
@@ -134,19 +134,14 @@ 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
     LEVEL_2_CPP_WARNINGS += -Wnon-virtual-dtor
-    LEVEL_2_CPP_WARNINGS += -Wold-style-cast
+    #LEVEL_2_CPP_WARNINGS += -Wold-style-cast
     LEVEL_2_CPP_WARNINGS += -Woverloaded-virtual
     LEVEL_2_CPP_WARNINGS += -Wsign-promo
     LEVEL_2_CPP_WARNINGS += -Wsynth