From 02d46b867a85161059fd84fc9c34fd03a9dda1ba Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 11 May 2018 09:44:58 +0200 Subject: [PATCH] examples: Disable a specific warning gcc 8 checks more cases in the "parentheses" checks, and unfortunately upstream gtk headers fails with that warning. Make that warning non-fatal --- tests/examples/gl/gtk/3dvideo/Makefile.am | 2 +- tests/examples/gl/gtk/filternovideooverlay/Makefile.am | 2 +- tests/examples/gl/gtk/filtervideooverlay/Makefile.am | 2 +- tests/examples/gl/gtk/switchvideooverlay/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/examples/gl/gtk/3dvideo/Makefile.am b/tests/examples/gl/gtk/3dvideo/Makefile.am index 5738e84cd0..81f88ee37f 100644 --- a/tests/examples/gl/gtk/3dvideo/Makefile.am +++ b/tests/examples/gl/gtk/3dvideo/Makefile.am @@ -4,7 +4,7 @@ noinst_HEADERS = mviewwidget.h 3dvideo_SOURCES = mviewwidget.c main.cpp -3dvideo_CXXFLAGS=$(GST_CXXFLAGS) +3dvideo_CXXFLAGS=$(GST_CXXFLAGS) -Wno-error=parentheses 3dvideo_CFLAGS=$(GST_CFLAGS) 3dvideo_CPPFLAGS=\ diff --git a/tests/examples/gl/gtk/filternovideooverlay/Makefile.am b/tests/examples/gl/gtk/filternovideooverlay/Makefile.am index 57147747e0..08ab42d1df 100644 --- a/tests/examples/gl/gtk/filternovideooverlay/Makefile.am +++ b/tests/examples/gl/gtk/filternovideooverlay/Makefile.am @@ -6,7 +6,7 @@ filternovideooverlay_CXXFLAGS= \ $(GST_PLUGINS_BASE_CFLAGS) \ $(GST_CXXFLAGS) \ $(GL_CFLAGS) \ - $(GTK_CFLAGS) + $(GTK_CFLAGS) -Wno-error=parentheses filternovideooverlay_LDADD= \ $(GST_LIBS) \ diff --git a/tests/examples/gl/gtk/filtervideooverlay/Makefile.am b/tests/examples/gl/gtk/filtervideooverlay/Makefile.am index 975359d4fe..2d1bbdb490 100644 --- a/tests/examples/gl/gtk/filtervideooverlay/Makefile.am +++ b/tests/examples/gl/gtk/filtervideooverlay/Makefile.am @@ -4,7 +4,7 @@ filtervideooverlay_SOURCES = main.cpp filtervideooverlay_CXXFLAGS=\ $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) \ - $(GL_CFLAGS) $(GTK_CFLAGS) $(X11_CFLAGS) + $(GL_CFLAGS) $(GTK_CFLAGS) $(X11_CFLAGS) -Wno-error=parentheses filtervideooverlay_LDADD=../libgstgtkhelper.la \ $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ $(GST_LIBS) $(GL_LIBS) $(GTK_LIBS) $(X11_LIBS) diff --git a/tests/examples/gl/gtk/switchvideooverlay/Makefile.am b/tests/examples/gl/gtk/switchvideooverlay/Makefile.am index 94017c355d..ba59cae8b1 100644 --- a/tests/examples/gl/gtk/switchvideooverlay/Makefile.am +++ b/tests/examples/gl/gtk/switchvideooverlay/Makefile.am @@ -4,7 +4,7 @@ switchvideooverlay_SOURCES = main.cpp switchvideooverlay_CXXFLAGS=\ $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) \ - $(GL_CFLAGS) $(GTK_CFLAGS) $(X_CFLAGS) + $(GL_CFLAGS) $(GTK_CFLAGS) $(X_CFLAGS) -Wno-error=parentheses switchvideooverlay_LDADD=../libgstgtkhelper.la \ $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ $(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \