[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:
Harsha Raghu
2021-10-08 05:41:49 +05:30
committed by GitHub
parent cac80584a0
commit c61735130d
11 changed files with 35 additions and 5 deletions

View File

@ -3,6 +3,10 @@ import os.path
binary = AMXX.MetaModule(builder, 'dodfun')
binary.compiler.defines += [
'HAVE_STDINT_H',
]
binary.sources = [
'../../../public/sdk/amxxmodule.cpp',
'NBase.cpp',

View File

@ -3,6 +3,10 @@ import os.path
binary = AMXX.MetaModule(builder, 'dodx')
binary.compiler.defines += [
'HAVE_STDINT_H',
]
binary.sources = [
'../../../public/sdk/amxxmodule.cpp',
'CRank.cpp',