From c256b6feda7fdab7f288301acb6925b29ae280e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 17 Mar 2010 23:57:31 +0000 Subject: [PATCH] configure.ac: -Wmissing-prototypes and -Wnested-externs are not valid for C++ Fixes building Qt-based overlay examples in combination with -Werror. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 42117b0e86..29fa6c444a 100644 --- a/configure.ac +++ b/configure.ac @@ -317,10 +317,10 @@ AG_GST_SET_ERROR_CFLAGS($GST_GIT, [ dnl define an ERROR_CXXFLAGS Makefile variable AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [ - -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef + -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return - -Wno-multichar -Wnested-externs ]) + -Wno-multichar]) dnl define correct level for debugging messages AG_GST_SET_LEVEL_DEFAULT($GST_GIT) @@ -370,6 +370,7 @@ AG_GST_CHECK_PLUGIN(videoscale) AG_GST_CHECK_PLUGIN(volume) dnl check for gstreamer core features (subsystems) +dnl FIXME: this assumes srcdir == builddir for uninstalled setups GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h" AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH) AM_CONDITIONAL(USE_XML, test $GST_DISABLE_XML != "1")