add -Wdeclaration-after-statement to warning flags for gcc
[blender.git] / config / linux2-config.py
index 4866f86c3ada77f73e9877419f6549c4ab3215fa..a041f518ba70654a8ad144bb3df2e12d1ed08089 100644 (file)
@@ -145,7 +145,7 @@ REL_CCFLAGS = ['-O2']
 ##ARFLAGS = ruv
 ##ARFLAGSQUIET = ru
 ##
-C_WARN = '-Wall -Wno-char-subscripts'
+C_WARN = '-Wall -Wno-char-subscripts -Wdeclaration-after-statement'
 
 CC_WARN = '-Wall'