зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1261719 - Suppress MSVC warning C4595. r=glandium
C4595 is "'operator new': non-member operator new or delete functions may not be declared inline". This warning is already suppressed for newer versions of clang. MozReview-Commit-ID: GTzLtIGtpbR --HG-- extra : rebase_source : 2782fff9796aedc976edf2c9820125f9b74c76e1
This commit is contained in:
Родитель
62081fdb80
Коммит
3bd89d1192
|
@ -1468,8 +1468,10 @@ case "$target" in
|
|||
# that behavior) that it's better to turn it off.
|
||||
# MSVC warning C4819 warns some UTF-8 characters (e.g. copyright sign)
|
||||
# on non-Western system locales even if it is in a comment.
|
||||
# MSVC warning wd4595 warns non-member operator new or delete functions
|
||||
# may not be declared inline, as of VS2015 Update 2.
|
||||
CFLAGS="$CFLAGS -wd4244 -wd4267 -wd4819"
|
||||
CXXFLAGS="$CXXFLAGS -wd4251 -wd4244 -wd4267 -wd4345 -wd4351 -wd4800 -wd4819"
|
||||
CXXFLAGS="$CXXFLAGS -wd4251 -wd4244 -wd4267 -wd4345 -wd4351 -wd4800 -wd4819 -wd4595"
|
||||
if test -n "$CLANG_CL"; then
|
||||
# XXX We should combine some of these with our generic GCC-style
|
||||
# warning checks.
|
||||
|
|
Загрузка…
Ссылка в новой задаче