- added GCC warning -Wstrict-prototypes
[blender.git] / build_files / scons / config / darwin-config.py
index f23d4a6390bb4c7142df1429e74a87c0a4015250..57bf6aba619545c3211ab78ebbdb0c881d800073 100644 (file)
@@ -327,7 +327,7 @@ if MACOSX_ARCHITECTURE == 'x86_64':
        REL_CCFLAGS = REL_CCFLAGS+['-march=core2','-mssse3','-with-tune=core2','-enable-threads']
 
 CC_WARN = ['-Wall']
-C_WARN = ['-Wno-char-subscripts', '-Wpointer-arith', '-Wcast-align', '-Wdeclaration-after-statement', '-Wno-unknown-pragmas']
+C_WARN = ['-Wno-char-subscripts', '-Wpointer-arith', '-Wcast-align', '-Wdeclaration-after-statement', '-Wno-unknown-pragmas', '-Wstrict-prototypes']
 CXX_WARN = ['-Wno-invalid-offsetof', '-Wno-sign-compare']
 
 ##FIX_STUBS_WARNINGS = -Wno-unused