mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 03:30:35 +00:00
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:
parent
3678866474
commit
02d46b867a
4 changed files with 4 additions and 4 deletions
|
@ -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=\
|
||||
|
|
|
@ -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) \
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue