Fix a clang-3.6 compilation issue

This commit is contained in:
Arkshine 2015-06-01 18:52:41 +02:00
parent 26d0f3f2de
commit 934e0208bf

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: