parent
8413946ace
commit
f37f9d1c66
|
@ -225,6 +225,10 @@ class AMXXConfig(object):
|
||||||
cxx.cxxflags += ['-Wno-delete-non-virtual-dtor']
|
cxx.cxxflags += ['-Wno-delete-non-virtual-dtor']
|
||||||
if have_gcc and cxx.version >= '4.8':
|
if have_gcc and cxx.version >= '4.8':
|
||||||
cxx.cflags += ['-Wno-unused-result', '-Wno-error=sign-compare']
|
cxx.cflags += ['-Wno-unused-result', '-Wno-error=sign-compare']
|
||||||
|
if have_gcc and cxx.version >= '8.0':
|
||||||
|
cxx.cflags += ['-Wno-stringop-truncation']
|
||||||
|
if have_gcc and cxx.version >= '9.0':
|
||||||
|
cxx.cflags += ['-Wno-address-of-packed-member']
|
||||||
if have_clang:
|
if have_clang:
|
||||||
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
|
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
|
||||||
if cxx.version >= 'apple-clang-10.0':
|
if cxx.version >= 'apple-clang-10.0':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user