diff --git a/SConscript b/SConscript index 3adc0df..f576022 100644 --- a/SConscript +++ b/SConscript @@ -263,11 +263,11 @@ if env['COMPILER_FAMILY'] == 'gcc' or env['COMPILER_FAMILY'] == 'clang': # GCC complains about missing initializer for "" that doesn't exist :/ # also GCC complains about some (compiler generated) fields in coroutines not having any linkage # also -Wdangling-reference seems to produce a lot of false positives - env.Append(CCFLAGS = ['-Wno-missing-field-initializers', '-Wno-subobject-linkage', '-Wno-dangling-reference']) + # also -Wmaybe-uninitialized seems to produce false positives (or a bug in the standard library?) + env.Append(CCFLAGS = ['-Wno-missing-field-initializers', '-Wno-subobject-linkage', '-Wno-dangling-reference', '-Wno-maybe-uninitialized']) else: # no-gnu-anonymous-struct - we don't care - # maybe-uninitialized seems to produce false positives (or a bug in the standard library?) - env.Append(CCFLAGS = ['-Wno-gnu-anonymous-struct', '-Wno-maybe-uninitialized']) + env.Append(CCFLAGS = ['-Wno-gnu-anonymous-struct']) if build_type == 'debug': env.Append(CCFLAGS = ['-g', '-O0'], CPPDEFINES = ['_GLIBCXX_DEBUG']) elif build_type == 'release_debug' or build_type == 'profile':