зеркало из https://github.com/mozilla/gecko-dev.git
bug 1320656 - Disable the failure on -Wnoexcept-type until we have a proper fix r=glandium
MozReview-Commit-ID: HeDMTxopx9V --HG-- extra : rebase_source : 8df61de8f024bab38909826ca714e554c4b0bb49
This commit is contained in:
Родитель
4418d7d986
Коммит
db963af2af
|
@ -734,7 +734,10 @@ if CONFIG['JS_HAS_CTYPES']:
|
|||
if CONFIG['GNU_CXX']:
|
||||
# Also disable strict-aliasing for GCC compiler, that is enabled by default
|
||||
# starting with version 7.1, see Bug 1363009
|
||||
CXXFLAGS += ['-Wno-shadow', '-Werror=format', '-fno-strict-aliasing']
|
||||
# Disable the gcc warning noexcept-type introduced in version 7.1.
|
||||
# see bug 1320656
|
||||
CXXFLAGS += ['-Wno-shadow', '-Werror=format', '-fno-strict-aliasing',
|
||||
'-Wno-error=noexcept-type']
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
|
||||
|
|
Загрузка…
Ссылка в новой задаче