mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1700171: Suppress some clang warnings in libtheora r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D109388
This commit is contained in:
parent
a045dbb379
commit
e6f334587a
@ -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 += [
|
||||
|
Loading…
Reference in New Issue
Block a user