Bug 1194951 - Suppress warnings in third-party code: pocketsphinx and sphinxbase. r=kdavis

This commit is contained in:
Chris Peterson 2015-08-10 23:01:25 -07:00
Родитель 6d9eccfa13
Коммит c98b4c65b1
2 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

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