Skip to content
Snippets Groups Projects
Commit b1f2b0fd authored by Chris Peterson's avatar Chris Peterson
Browse files

Bug 986794 - Suppress clang warnings in third-party code: libopus and libtheora. r=derf

parent 5da1cb00
No related branches found
No related tags found
No related merge requests found
......@@ -67,3 +67,9 @@ else:
'silk/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
# Suppress warnings in third-party code.
if CONFIG['CLANG_CXX']:
CFLAGS += ['-Wno-tautological-compare']
if CONFIG['GNU_CC']:
CFLAGS += ['-Wno-type-limits']
if CONFIG['CLANG_CXX']:
CFLAGS += ['-Wno-tautological-compare']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment