зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1194951 - Suppress warnings in third-party code: pocketsphinx and sphinxbase. r=kdavis
This commit is contained in:
Родитель
6d9eccfa13
Коммит
c98b4c65b1
|
@ -46,7 +46,12 @@ SOURCES += [
|
|||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['GNU_CC']:
|
||||
CFLAGS += ['-Wno-sign-compare']
|
||||
CFLAGS += [
|
||||
'-Wno-declaration-after-statement',
|
||||
'-Wno-sign-compare',
|
||||
]
|
||||
if CONFIG['CLANG_CXX']:
|
||||
CFLAGS += ['-Wno-incompatible-pointer-types-discards-qualifiers']
|
||||
|
||||
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
|
||||
NO_VISIBILITY_FLAGS = True,
|
||||
|
|
|
@ -67,7 +67,10 @@ SOURCES += [
|
|||
|
||||
# Suppress warnings in third-party code.
|
||||
if CONFIG['GNU_CC']:
|
||||
CFLAGS += ['-Wno-sign-compare']
|
||||
CFLAGS += [
|
||||
'-Wno-parentheses',
|
||||
'-Wno-sign-compare',
|
||||
]
|
||||
|
||||
# Add define required of third party code.
|
||||
if CONFIG['GNU_CC']:
|
||||
|
|
Загрузка…
Ссылка в новой задаче