Merge pull request #249 from Arkshine/fix/override-error-clang56

Fix a clang-3.6 compilation issue
This commit is contained in:
Vincent Herbet 2015-06-27 15:46:46 +02:00
commit 30a97db735

View File

@ -162,7 +162,9 @@ class AMXXConfig(object):
else:
cfg.cxxflags += ['-Wno-deprecated']
cfg.cflags += ['-Wno-sometimes-uninitialized']
if cxx.version >= '3.6':
cfg.cxxflags += ['-Wno-inconsistent-missing-override']
if have_gcc:
cfg.cflags += ['-Wno-parentheses']
elif have_clang: