зеркало из https://github.com/mozilla/gecko-dev.git
Bug 826611 - Disable MSVC warning C4819 because it causes useless warning spam on non-Western locales. r=ted
This commit is contained in:
Родитель
b366d014bc
Коммит
5bb3cb766b
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче