Disabled parentheses-equality warning on CLang vecause it was producing false positives.
This commit is contained in:
parent
e583c5ef6c
commit
68f20bcf2d
@ -1019,7 +1019,8 @@ if env['COMPILER_FAMILY'] == 'gcc' or env['COMPILER_FAMILY'] == 'clang':
|
||||
# no-gnu-anonymous-struct - we don't care
|
||||
# no-missing-field-initializers - useful in some cases, annoying in most
|
||||
# no-ambiguous-reversed-operator - should be quite useful, but we get a false positive, apparently?
|
||||
env.Append(CCFLAGS = ['-Wno-gnu-anonymous-struct', '-Wno-missing-field-initializers', '-Wno-ambiguous-reversed-operator'])
|
||||
# no-parentheses-equality - false positive for fold expressions and doesn't seem to useful anyway
|
||||
env.Append(CCFLAGS = ['-Wno-gnu-anonymous-struct', '-Wno-missing-field-initializers', '-Wno-ambiguous-reversed-operator', '-Wno-parentheses-equality'])
|
||||
env.Append(CXXFLAGS = ['-fexperimental-library']) # enable std::jthread
|
||||
if build_type == 'debug':
|
||||
env.Append(CCFLAGS = ['-g', '-O0'], CPPDEFINES = ['_GLIBCXX_DEBUG'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user