Bug 1700171: Suppress some clang warnings in libtheora r=bryce

Differential Revision: https://phabricator.services.mozilla.com/D109388
This commit is contained in:
Tom Ritter 2021-03-22 20:17:14 +00:00
parent a045dbb379
commit e6f334587a

View File

@ -24,12 +24,14 @@ DEFINES['THEORA_DISABLE_ENCODE'] = True
# Suppress warnings in third-party code.
CFLAGS += ['-Wno-type-limits']
if CONFIG['CC_TYPE'] in ('clang', 'clang-cl'):
CFLAGS += ['-Wno-tautological-compare']
CFLAGS += [
'-Wno-shift-negative-value',
'-Wno-tautological-compare',
]
if CONFIG['CC_TYPE'] == 'clang-cl':
CFLAGS += [
'-Wno-parentheses',
'-Wno-pointer-sign',
'-Wno-shift-negative-value',
]
UNIFIED_SOURCES += [