add -Wdeclaration-after-statement to warning flags for gcc
[blender.git] / config / sunos5-config.py
index 78fe55dc7baf3ee452c8f70a222742c49039f7bf..7939e2109938018b34559410f3fd632757e061e4 100644 (file)
@@ -146,7 +146,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'