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
This commit is contained in:
Edward Hervey 2018-05-11 09:44:58 +02:00
parent 3678866474
commit 02d46b867a
4 changed files with 4 additions and 4 deletions

View file

@ -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=\

View file

@ -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) \

View file

@ -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)

View file

@ -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 \