gst-plugins-base: Add --disable-fatal-warnings configure option

Tim Müller tpm at kemper.freedesktop.org
Thu Jan 19 06:07:52 PST 2012


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

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Thu Jan 19 14:07:34 2012 +0000

Add --disable-fatal-warnings configure option

---

 common       |    2 +-
 configure.ac |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/common b/common
index 63d592e..17fa4ab 160000
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 63d592ed74618734d69438c770d6462efeb5ab9d
+Subproject commit 17fa4abf49d31cf5dcc2994bdbaa86e45a3fb69f
diff --git a/configure.ac b/configure.ac
index 13647a4..859bb05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,6 +78,8 @@ AG_GST_GETTEXT([gst-plugins-base-$GST_MAJORMINOR])
 
 dnl *** check for arguments to configure ***
 
+AG_GST_ARG_DISABLE_FATAL_WARNINGS
+
 AG_GST_ARG_DEBUG
 AG_GST_ARG_PROFILING
 AG_GST_ARG_VALGRIND
@@ -367,14 +369,14 @@ AG_GST_CHECK_GST_DEBUG_DISABLED([NO_WARNINGS="-Wno-unused"], [NO_WARNINGS=""])
 
 dnl define an ERROR_CFLAGS Makefile variable
 dnl -Wformat-nonliteral - see ext/pango/gstclockoverlay.c and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438
-AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
+AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
     -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
     -Wwrite-strings -Wformat-nonliteral -Wformat-security
     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
     -Wno-multichar -Wnested-externs $NO_WARNINGS])
 
 dnl define an ERROR_CXXFLAGS Makefile variable
-AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [
+AG_GST_SET_ERROR_CXXFLAGS($FATAL_WARNINGS, [
     -Wmissing-declarations -Wredundant-decls -Wundef
     -Wwrite-strings -Wformat-nonliteral -Wformat-security
     -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return



More information about the gstreamer-commits mailing list