зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1343557 - Disable -pedantic-errors for pkix gtests; r=keeler
MozReview-Commit-ID: FEeAF9Vm3PJ --HG-- extra : rebase_source : f62dfac39f8021f7cda8240bf680612847e5fd8b
This commit is contained in:
Родитель
d6eb4d1229
Коммит
cb9616fb60
|
@ -37,6 +37,11 @@ FINAL_LIBRARY = 'xul-gtest'
|
|||
|
||||
include('../../warnings.mozbuild')
|
||||
|
||||
# GTest uses a variadic macro in a questionable way and it doesn't seem to be
|
||||
# possible to selectively disable just that error when -pedantic-errors is set.
|
||||
if CONFIG['GNU_CXX'] and not CONFIG['CLANG_CXX']:
|
||||
CXXFLAGS.remove('-pedantic-errors')
|
||||
|
||||
# These warnings are disabled in order to minimize the amount of boilerplate
|
||||
# required to implement tests, and/or because they originate in the GTest
|
||||
# framework in a way we cannot otherwise work around.
|
||||
|
|
Загрузка…
Ссылка в новой задаче