[Build] Fix latest MSVC and CLang compiler errors (#1008)
* Explicit cast specification * Explicit cast specification * Suppress -Wno-tautological-compare in Clang 10 and above https://reviews.llvm.org/rG8b0d14a8f0cc085afa2a9c86c237da81c74517fc * Explicit cast specification * Add HAVE_STDINT_H compiler flag * Explicit casting mechanism type specification * typo
This commit is contained in:
@ -231,6 +231,8 @@ class AMXXConfig(object):
|
||||
cxx.cflags += ['-Wno-address-of-packed-member']
|
||||
if have_clang:
|
||||
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
|
||||
if cxx.version >= '10.0':
|
||||
cxx.cxxflags += ['-Wno-tautological-compare']
|
||||
if cxx.version >= 'apple-clang-10.0':
|
||||
cxx.cxxflags += [
|
||||
'-Wno-inconsistent-missing-override',
|
||||
|
Reference in New Issue
Block a user