mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00:00
wscript: add incompatible-pointer-types only for C
This commit is contained in:
parent
8399107826
commit
fe362a1ab5
2
wscript
2
wscript
@ -235,12 +235,12 @@ def configure(conf):
|
||||
'-Werror=duplicated-branches', # BEWARE: buggy
|
||||
'-Werror=bool-compare',
|
||||
'-Werror=bool-operation',
|
||||
'-Werror=incompatible-pointer-types',
|
||||
# '-Wdouble-promotion', # disable warning flood
|
||||
'-Wstrict-aliasing',
|
||||
]
|
||||
|
||||
c_compiler_optional_flags = [
|
||||
'-Werror=incompatible-pointer-types',
|
||||
'-Werror=implicit-function-declaration',
|
||||
'-Werror=int-conversion',
|
||||
'-Werror=implicit-int',
|
||||
|
Loading…
x
Reference in New Issue
Block a user