Issue #457 - Silence some GCC compiler warnings in FFmpeg code

This commit is contained in:
trav90 2022-05-19 20:54:34 -05:00 committed by roytam1
commit 5c61382dac
5 changed files with 20 additions and 5 deletions

View file

@ -15,7 +15,10 @@ LOCAL_INCLUDES += [
]
if CONFIG['GNU_CXX']:
CXXFLAGS += [ '-Wno-deprecated-declarations' ]
CXXFLAGS += [
'-Wno-attributes',
'-Wno-deprecated-declarations',
]
if CONFIG['CLANG_CXX']:
CXXFLAGS += [
'-Wno-unknown-attributes',

View file

@ -15,7 +15,10 @@ LOCAL_INCLUDES += [
]
if CONFIG['GNU_CXX']:
CXXFLAGS += [ '-Wno-deprecated-declarations' ]
CXXFLAGS += [
'-Wno-attributes',
'-Wno-deprecated-declarations',
]
if CONFIG['CLANG_CXX']:
CXXFLAGS += [
'-Wno-unknown-attributes',

View file

@ -28,7 +28,10 @@ if CONFIG['OS_ARCH'] == 'WINNT':
]
if CONFIG['GNU_CXX']:
CXXFLAGS += [ '-Wno-deprecated-declarations' ]
CXXFLAGS += [
'-Wno-attributes',
'-Wno-deprecated-declarations',
]
if CONFIG['CLANG_CXX']:
CXXFLAGS += [
'-Wno-unknown-attributes',

View file

@ -15,7 +15,10 @@ LOCAL_INCLUDES += [
]
if CONFIG['GNU_CXX']:
CXXFLAGS += [ '-Wno-deprecated-declarations' ]
CXXFLAGS += [
'-Wno-attributes',
'-Wno-deprecated-declarations',
]
if CONFIG['CLANG_CXX']:
CXXFLAGS += [
'-Wno-unknown-attributes',