[gst-cvs] gst-plugins-good: configure: also remove -Waggregate-return from warning flags

Tim Müller tpm at kemper.freedesktop.org
Mon Apr 12 16:20:33 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: f30f907c37c86df0e24fc96d4b43a3d8f4acdc23
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=f30f907c37c86df0e24fc96d4b43a3d8f4acdc23

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Tue Apr 13 00:14:46 2010 +0100

configure: also remove -Waggregate-return from warning flags

It causes problems with Objective-C code like in osxvideosink.

Fixes #613663.

---

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index f4c7089..ea2f4af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -272,11 +272,13 @@ dnl set location of plugin directory
 AG_GST_SET_PLUGINDIR
 
 dnl define an ERROR_CFLAGS Makefile variable
+dnl -Wundef: too many broken headers
+dnl -Waggregate-return: causes problems with ObjC code like in osxvideosink
 AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
         -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
         -Wwrite-strings -Wold-style-definition -Wcast-align
         -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
-        -Waggregate-return -Wnested-externs ])
+        -Wnested-externs ])
 
 dnl define an ERROR_CXXFLAGS Makefile variable
 AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [





More information about the Gstreamer-commits mailing list