Ignore unknown warning options with clang to make it easier to support more compiler versions.
This commit is contained in:
parent
d5bfa0ee80
commit
d2821a239d
@ -288,7 +288,7 @@ elif env['COMPILER_FAMILY'] == 'cl':
|
||||
if env['COMPILER_FAMILY'] == 'gcc':
|
||||
env.Append(CCFLAGS = ['-Wno-volatile'])
|
||||
elif env['COMPILER_FAMILY'] == 'clang':
|
||||
env.Append(CCFLAGS = ['-Wno-deprecated-volatile', '-Wno-nested-anon-types'])
|
||||
env.Append(CCFLAGS = ['-Wno-deprecated-volatile', '-Wno-nested-anon-types', '-Wno-unknown-warning-option'])
|
||||
|
||||
env.AddMethod(_cook, 'Cook')
|
||||
env.AddMethod(_parse_lib_conf, 'ParseLibConf')
|
||||
|
Loading…
x
Reference in New Issue
Block a user