gst-plugins-ugly: Add --disable-fatal-warnings configure option
Tim Müller
tpm at kemper.freedesktop.org
Thu Jan 19 07:07:11 PST 2012
Module: gst-plugins-ugly
Branch: master
Commit: ac281f35629a394dd53562b6eda3b074cf06c6a7
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=ac281f35629a394dd53562b6eda3b074cf06c6a7
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Thu Jan 19 15:06:47 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 11f0cd5..17fa4ab 160000
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 11f0cd5a3fba36f85cf3e434150bfe66b1bf08d4
+Subproject commit 17fa4abf49d31cf5dcc2994bdbaa86e45a3fb69f
diff --git a/configure.ac b/configure.ac
index a740b12..20ba788 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,8 @@ AG_GST_GETTEXT([gst-plugins-ugly-$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
@@ -187,14 +189,14 @@ AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
[$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])
dnl define an ERROR_CFLAGS Makefile variable
-AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
+AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
-Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
-Winit-self -Wmissing-include-dirs -Waddress
-Waggregate-return -Wno-multichar -Wnested-externs ])
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
-Wwrite-strings -Wformat-nonliteral -Wformat-security
-Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
More information about the gstreamer-commits
mailing list