[Bf-committers] scons, C_WARN and CC_WARN

Ken Hughes khughes at pacific.edu
Mon Apr 3 21:01:38 CEST 2006


I've got these two definitions in my user-config.py file:

CC_WARN = ''
C_WARN += ' -Wextra -Wdeclaration-after-statement'

I always get complaints from g++ about -Wdeclaration-after-statement 
being ignored.

How do I set the warning flags only for gcc, not for g++?

Ken


More information about the Bf-committers mailing list