add -Wdeclaration-after-statement to warning flags for gcc
[blender.git] / config / darwin-config.py
index ee386e8ca76b1cee9fd92ad788095041cb57f955..142317440ae794c9b419ade3a1d15cf340f84c7c 100644 (file)
@@ -143,7 +143,7 @@ REL_CCFLAGS = ['-O2']
 ##
 CC = 'gcc'
 CXX = 'g++'
-C_WARN = ' -Wall  -Wno-long-double'
+C_WARN = ' -Wall  -Wno-long-double -Wdeclaration-after-statement '
 
 CC_WARN = ' -Wall  -Wno-long-double'