mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
Bug 984250 - Suppress clang and gcc warnings in third-party code: hunspell and hyphen. r=ehsan
This commit is contained in:
parent
e02f71e544
commit
0a6dfe722a
@ -37,3 +37,6 @@ LOCAL_INCLUDES += [
|
||||
'/editor/libeditor/base',
|
||||
]
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['CLANG_CXX']:
|
||||
CXXFLAGS += ['-Wno-unused-private-field']
|
||||
|
@ -17,3 +17,10 @@ SOURCES += [
|
||||
MSVC_ENABLE_PGO = True
|
||||
|
||||
FINAL_LIBRARY = 'i18n'
|
||||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['GNU_CC']:
|
||||
CFLAGS += [
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-type-limits',
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user