[0.11] gstreamer: build: add --disable-fatal-warnings configure option

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 25 02:43:33 PST 2012

Module: gstreamer
Branch: 0.11
Commit: 8accd77659d6eb99b39b31c76eff9c569b9242b6
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=8accd77659d6eb99b39b31c76eff9c569b9242b6

Author: Colin Walters <walters at verbum.org>
Date:   Tue Jan 17 16:23:33 2012 -0500

build: add --disable-fatal-warnings configure option

It's reasonable to build from git, but not want to turn all compiler
warnings into fatal errors.  For example, GNOME's jhbuild helps people
get newer versions of software than came from their distribution, but
they may not necessarily want to hack on it.


 common       |    2 +-
 configure.ac |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/common b/common
index e4a9407..17fa4ab 160000
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit e4a9407a51803016bab9918b03e2034981886bdb
+Subproject commit 17fa4abf49d31cf5dcc2994bdbaa86e45a3fb69f
diff --git a/configure.ac b/configure.ac
index 7a4d052..90daf07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,8 @@ AG_GST_GETTEXT([gstreamer-$GST_MAJORMINOR])
 dnl *** check for arguments to configure ***
 dnl subsystems - can influence other decisions so needs to be high up
 dnl we need to AM_CONDITIONAL them here for automake 1.6.x compatibility
@@ -646,7 +648,7 @@ if test "x${GST_DISABLE_GST_DEBUG}" = "xyes"; then
 dnl define an ERROR_CFLAGS Makefile variable
-AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs $NO_WARNINGS])
+AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs $NO_WARNINGS])
 dnl define correct level for debugging messages

More information about the gstreamer-commits mailing list