mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 986794 - Suppress clang warnings in third-party code: libopus and libtheora. r=derf
This commit is contained in:
parent
5da1cb00cf
commit
b1f2b0fdbd
@ -67,3 +67,9 @@ else:
|
|||||||
'silk/fixed',
|
'silk/fixed',
|
||||||
]
|
]
|
||||||
SOURCES += silk_sources_fixed
|
SOURCES += silk_sources_fixed
|
||||||
|
|
||||||
|
# Suppress warnings in third-party code.
|
||||||
|
if CONFIG['GNU_CC']:
|
||||||
|
CFLAGS += ['-Wno-declaration-after-statement']
|
||||||
|
if CONFIG['CLANG_CXX']:
|
||||||
|
CFLAGS += ['-Wno-\#pragma-messages']
|
||||||
|
@ -78,5 +78,7 @@ FINAL_LIBRARY = 'gkmedias'
|
|||||||
DEFINES['THEORA_DISABLE_ENCODE'] = True
|
DEFINES['THEORA_DISABLE_ENCODE'] = True
|
||||||
|
|
||||||
# Suppress warnings in third-party code.
|
# Suppress warnings in third-party code.
|
||||||
if CONFIG['CLANG_CXX']:
|
if CONFIG['GNU_CC']:
|
||||||
CFLAGS += ['-Wno-tautological-compare']
|
CFLAGS += ['-Wno-type-limits']
|
||||||
|
if CONFIG['CLANG_CXX']:
|
||||||
|
CFLAGS += ['-Wno-tautological-compare']
|
||||||
|
Loading…
Reference in New Issue
Block a user