diff --git a/SConscript b/SConscript index 2757660..81d81ee 100644 --- a/SConscript +++ b/SConscript @@ -841,7 +841,7 @@ if env['COMPILER_FAMILY'] == 'gcc' or env['COMPILER_FAMILY'] == 'clang': env.Append(CXXFLAGS = ['-Wno-subobject-linkage', '-Wno-dangling-reference', '-Wno-init-list-lifetime', '-Wno-tautological-compare']) else: # clang only # no-gnu-anonymous-struct - we don't care - env.Append(CCFLAGS = ['-Wno-gnu-anonymous-struct']) + env.Append(CCFLAGS = ['-Wno-gnu-anonymous-struct', '-Wno-missing-field-initializers']) env.Append(CXXFLAGS = ['-fexperimental-library']) # enable std::jthread if build_type == 'debug': env.Append(CCFLAGS = ['-g', '-O0'], CPPDEFINES = ['_GLIBCXX_DEBUG'])