Merge pull request #249 from Arkshine/fix/override-error-clang56
Fix a clang-3.6 compilation issue
This commit is contained in:
commit
30a97db735
|
@ -162,6 +162,8 @@ class AMXXConfig(object):
|
||||||
else:
|
else:
|
||||||
cfg.cxxflags += ['-Wno-deprecated']
|
cfg.cxxflags += ['-Wno-deprecated']
|
||||||
cfg.cflags += ['-Wno-sometimes-uninitialized']
|
cfg.cflags += ['-Wno-sometimes-uninitialized']
|
||||||
|
if cxx.version >= '3.6':
|
||||||
|
cfg.cxxflags += ['-Wno-inconsistent-missing-override']
|
||||||
|
|
||||||
if have_gcc:
|
if have_gcc:
|
||||||
cfg.cflags += ['-Wno-parentheses']
|
cfg.cflags += ['-Wno-parentheses']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user