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,7 +162,9 @@ 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']
|
||||||
elif have_clang:
|
elif have_clang:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user