зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
15289c44f3
Коммит
1df9c87853
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче