mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1169974 part 2: Tell clang to ignore inconsistent-missing-override warnings for MOCK_METHOD2 macro from gtests. r=njn
This commit is contained in:
parent
842dd1cf5a
commit
0fa3772aff
@ -24,6 +24,6 @@ UNIFIED_SOURCES = [
|
||||
# THE MOCK_METHOD2 macro from gtest triggers this clang warning and it's hard
|
||||
# to work around, so we just ignore it.
|
||||
if CONFIG['CLANG_CXX']:
|
||||
CXXFLAGS += ['-Wno-error=inconsistent-missing-override']
|
||||
CXXFLAGS += ['-Wno-inconsistent-missing-override']
|
||||
|
||||
FINAL_LIBRARY = 'xul-gtest'
|
||||
|
@ -12,7 +12,7 @@ UNIFIED_SOURCES += [
|
||||
# THE MOCK_METHOD2 macro from gtest triggers this clang warning and it's hard
|
||||
# to work around, so we just ignore it.
|
||||
if CONFIG['CLANG_CXX']:
|
||||
CXXFLAGS += ['-Wno-error=inconsistent-missing-override']
|
||||
CXXFLAGS += ['-Wno-inconsistent-missing-override']
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user