diff options
Diffstat (limited to 'SConstruct')
-rwxr-xr-x | SConstruct | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 3d15f1db6..e91cc0599 100755 --- a/SConstruct +++ b/SConstruct @@ -528,6 +528,7 @@ if main['GCC']: main.Append(CCFLAGS=['-pipe']) main.Append(CCFLAGS=['-fno-strict-aliasing']) main.Append(CCFLAGS=['-Wall', '-Wno-sign-compare', '-Wundef']) + main.Append(CXXFLAGS=['-Wmissing-field-initializers']) main.Append(CXXFLAGS=['-std=c++0x']) # Check for versions with bugs @@ -577,6 +578,7 @@ elif main['CLANG']: # Ruby makes frequent use of extraneous parantheses in the printing # of if-statements main.Append(CCFLAGS=['-Wno-parentheses']) + main.Append(CXXFLAGS=['-Wmissing-field-initializers']) main.Append(CXXFLAGS=['-std=c++0x']) # On Mac OS X/Darwin we need to also use libc++ (part of XCode) as # opposed to libstdc++ to make the transition from TR1 to |