mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-19 03:20:09 +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=duplicated-branches', # BEWARE: buggy
|
||||||
'-Werror=bool-compare',
|
'-Werror=bool-compare',
|
||||||
'-Werror=bool-operation',
|
'-Werror=bool-operation',
|
||||||
'-Werror=incompatible-pointer-types',
|
|
||||||
# '-Wdouble-promotion', # disable warning flood
|
# '-Wdouble-promotion', # disable warning flood
|
||||||
'-Wstrict-aliasing',
|
'-Wstrict-aliasing',
|
||||||
]
|
]
|
||||||
|
|
||||||
c_compiler_optional_flags = [
|
c_compiler_optional_flags = [
|
||||||
|
'-Werror=incompatible-pointer-types',
|
||||||
'-Werror=implicit-function-declaration',
|
'-Werror=implicit-function-declaration',
|
||||||
'-Werror=int-conversion',
|
'-Werror=int-conversion',
|
||||||
'-Werror=implicit-int',
|
'-Werror=implicit-int',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user