Bug 984250 - Suppress clang and gcc warnings in third-party code: hunspell and hyphen. r=ehsan

This commit is contained in:
Chris Peterson 2014-03-15 23:17:50 -07:00
parent e02f71e544
commit 0a6dfe722a
2 changed files with 10 additions and 0 deletions

View File

@ -37,3 +37,6 @@ LOCAL_INCLUDES += [
'/editor/libeditor/base',
]
# Suppress warnings in third-party code.
if CONFIG['CLANG_CXX']:
CXXFLAGS += ['-Wno-unused-private-field']

View File

@ -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',
]