mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 826611 - Disable MSVC warning C4819 because it causes useless warning spam on non-Western locales. r=ted
This commit is contained in:
parent
cce2ad39c8
commit
8fe6129090
@ -2204,7 +2204,10 @@ ia64*-hpux*)
|
||||
# because this also forces narrowing to a single byte, which can be a
|
||||
# perf hit. But this matters so little in practice (and often we want
|
||||
# that behavior) that it's better to turn it off.
|
||||
CXXFLAGS="$CXXFLAGS -wd4345 -wd4351 -wd4800"
|
||||
# MSVC warning C4819 warns some UTF-8 characters (e.g. copyright sign)
|
||||
# on non-Western system locales even if it is in a comment.
|
||||
CFLAGS="$CFLAGS -wd4819"
|
||||
CXXFLAGS="$CXXFLAGS -wd4345 -wd4351 -wd4800 -wd4819"
|
||||
# make 'foo == bar;' error out
|
||||
CFLAGS="$CFLAGS -we4553"
|
||||
CXXFLAGS="$CXXFLAGS -we4553"
|
||||
|
Loading…
Reference in New Issue
Block a user