summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-05-21 22:27:38 +0000
committerMoonchild <moonchild@palemoon.org>2022-05-21 22:27:38 +0000
commit17970a216be448b53082c39212b39d7df0afd12b (patch)
tree878b4239fa9aedecf4c3e0cba3259379092d5bce /dom
parent00c51f75fa4845f348708a796d552ca281f8210a (diff)
parentbe82ca4b1f8be0f945d63d5416cf537ffc04f7dd (diff)
downloaduxp-17970a216be448b53082c39212b39d7df0afd12b.tar.gz
Merge pull request 'Silence some GCC compiler warnings in FFmpeg code' (#1902) from trav90/UXP-contrib:gcc-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1902
Diffstat (limited to 'dom')
-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',