summaryrefslogtreecommitdiff
path: root/dom/media/platforms
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2022-05-19 20:54:34 -0500
committertrav90 <travawine@palemoon.org>2022-05-21 13:07:38 -0500
commitbe82ca4b1f8be0f945d63d5416cf537ffc04f7dd (patch)
treebe643e7655a96bfe1ff9b3f45cf7e7fc90c6d60a /dom/media/platforms
parent991b053042476ada227ecca95658f8aebaed5cb3 (diff)
downloaduxp-be82ca4b1f8be0f945d63d5416cf537ffc04f7dd.tar.gz
Issue #457 - Silence some GCC compiler warnings in FFmpeg code
Diffstat (limited to 'dom/media/platforms')
-rw-r--r--dom/media/platforms/ffmpeg/ffmpeg57/moz.build5
-rw-r--r--dom/media/platforms/ffmpeg/ffmpeg58/moz.build5
-rw-r--r--dom/media/platforms/ffmpeg/ffmpeg59/moz.build5
-rw-r--r--dom/media/platforms/ffmpeg/ffvpx/moz.build5
-rw-r--r--dom/media/platforms/ffmpeg/libav55/moz.build5
5 files changed, 20 insertions, 5 deletions
diff --git a/dom/media/platforms/ffmpeg/ffmpeg57/moz.build b/dom/media/platforms/ffmpeg/ffmpeg57/moz.build
index 9e4ac60b70..00ca9828ad 100644
--- a/dom/media/platforms/ffmpeg/ffmpeg57/moz.build
+++ b/dom/media/platforms/ffmpeg/ffmpeg57/moz.build
@@ -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',
diff --git a/dom/media/platforms/ffmpeg/ffmpeg58/moz.build b/dom/media/platforms/ffmpeg/ffmpeg58/moz.build
index 9e4ac60b70..00ca9828ad 100644
--- a/dom/media/platforms/ffmpeg/ffmpeg58/moz.build
+++ b/dom/media/platforms/ffmpeg/ffmpeg58/moz.build
@@ -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',
diff --git a/dom/media/platforms/ffmpeg/ffmpeg59/moz.build b/dom/media/platforms/ffmpeg/ffmpeg59/moz.build
index 9e4ac60b70..00ca9828ad 100644
--- a/dom/media/platforms/ffmpeg/ffmpeg59/moz.build
+++ b/dom/media/platforms/ffmpeg/ffmpeg59/moz.build
@@ -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',
diff --git a/dom/media/platforms/ffmpeg/ffvpx/moz.build b/dom/media/platforms/ffmpeg/ffvpx/moz.build
index c060efbd78..193830301f 100644
--- a/dom/media/platforms/ffmpeg/ffvpx/moz.build
+++ b/dom/media/platforms/ffmpeg/ffvpx/moz.build
@@ -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',
diff --git a/dom/media/platforms/ffmpeg/libav55/moz.build b/dom/media/platforms/ffmpeg/libav55/moz.build
index 9e4ac60b70..00ca9828ad 100644
--- a/dom/media/platforms/ffmpeg/libav55/moz.build
+++ b/dom/media/platforms/ffmpeg/libav55/moz.build
@@ -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',