Bug 1596807 - turn off more exception spec mismatch warnings on Windows; r=dmajor

Differential Revision: https://phabricator.services.mozilla.com/D53218

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nathan Froyd 2019-11-18 13:04:27 +00:00
Родитель 15289c44f3
Коммит 1df9c87853
2 изменённых файлов: 8 добавлений и 0 удалений

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

@ -631,6 +631,10 @@ case "$target" in
# declare |delete| differently. Therefore, suppress this
# warning.
CXXFLAGS="$CXXFLAGS -Wno-implicit-exception-spec-mismatch"
# Macros like STDMETHOD() and IFACEMETHOD() can declare
# __attribute__((nothrow)) on their respective method declarations,
# while the definitions are left without the matching attribute.
CXXFLAGS="$CXXFLAGS -Wno-microsoft-exception-spec"
# At least one MSVC header and several headers in-tree have
# unused typedefs, so turn this on.
CXXFLAGS="$CXXFLAGS -Wno-unused-local-typedef"

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

@ -762,6 +762,10 @@ case "$target" in
# declare |delete| differently. Therefore, suppress this
# warning.
CXXFLAGS="$CXXFLAGS -Wno-implicit-exception-spec-mismatch"
# Macros like STDMETHOD() and IFACEMETHOD() can declare
# __attribute__((nothrow)) on their respective method declarations,
# while the definitions are left without the matching attribute.
CXXFLAGS="$CXXFLAGS -Wno-microsoft-exception-spec"
# At least one MSVC header and several headers in-tree have
# unused typedefs, so turn this on.
CXXFLAGS="$CXXFLAGS -Wno-unused-local-typedef"