Bug 826611 - Disable MSVC warning C4819 because it causes useless warning spam on non-Western locales. r=ted

This commit is contained in:
Masatoshi Kimura 2013-01-04 23:42:02 +09:00
Родитель b366d014bc
Коммит 5bb3cb766b
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -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"