path: root/scons/
diff options
authorMarek Olšák <>2012-01-25 14:08:16 +0100
committerMarek Olšák <>2012-01-29 02:19:58 +0100
commit335d49ef1581c2954cfa17a5c603ca54dd770a89 (patch)
treede85decc3e28960f4d90f33ced9368c2a2185f83 /scons/
parent41a4e274a4e78087ce8eafbabc3713ed75bb4759 (diff)
scons: don't add -Wmissing-field-initializers
The warning is absolutely useless. It doesn't actually say that there are uninitialized variables. It points out the fact that there are missing initializers and that variables are initialized to zero implicitly, which is exactly what we want and what we commonly make use of. C90 and C99 require all unspecified variables in the initializer list to be set to zero.
Diffstat (limited to 'scons/')
1 files changed, 0 insertions, 4 deletions
diff --git a/scons/ b/scons/
index 86adc3e6a2..eed89cf71c 100755
--- a/scons/
+++ b/scons/
@@ -364,10 +364,6 @@ def generate(env):
- if distutils.version.LooseVersion(ccversion) >= distutils.version.LooseVersion('4.0'):
- ccflags += [
- '-Wmissing-field-initializers',
- ]
if distutils.version.LooseVersion(ccversion) >= distutils.version.LooseVersion('4.2'):
ccflags += [