mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
Add --disable-fatal-warnings configure option
This commit is contained in:
parent
cf81df8058
commit
9ae5ddd8f9
2 changed files with 6 additions and 4 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 11f0cd5a3fba36f85cf3e434150bfe66b1bf08d4
|
Subproject commit 17fa4abf49d31cf5dcc2994bdbaa86e45a3fb69f
|
|
@ -73,6 +73,8 @@ AG_GST_GETTEXT([gst-plugins-good-$GST_MAJORMINOR])
|
||||||
|
|
||||||
dnl *** check for arguments to configure ***
|
dnl *** check for arguments to configure ***
|
||||||
|
|
||||||
|
AG_GST_ARG_DISABLE_FATAL_WARNINGS
|
||||||
|
|
||||||
AG_GST_ARG_DEBUG
|
AG_GST_ARG_DEBUG
|
||||||
AG_GST_ARG_PROFILING
|
AG_GST_ARG_PROFILING
|
||||||
AG_GST_ARG_VALGRIND
|
AG_GST_ARG_VALGRIND
|
||||||
|
@ -298,7 +300,7 @@ AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
|
||||||
dnl define an ERROR_CFLAGS Makefile variable
|
dnl define an ERROR_CFLAGS Makefile variable
|
||||||
dnl -Wundef: too many broken headers
|
dnl -Wundef: too many broken headers
|
||||||
if test "x$HAVE_OSX_VIDEO" != "xyes"; then
|
if test "x$HAVE_OSX_VIDEO" != "xyes"; then
|
||||||
AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
|
AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
|
||||||
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
|
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
|
||||||
-Wwrite-strings -Wold-style-definition -Waggregate-return
|
-Wwrite-strings -Wold-style-definition -Waggregate-return
|
||||||
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
|
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
|
||||||
|
@ -307,7 +309,7 @@ else
|
||||||
dnl work-around for us passing GST_CFLAGS to the ObjC-compiler, which
|
dnl work-around for us passing GST_CFLAGS to the ObjC-compiler, which
|
||||||
dnl doesn't understand all warning flags that the C compiler knows about
|
dnl doesn't understand all warning flags that the C compiler knows about
|
||||||
dnl (e.g. -Waddress) or causes problems with some flags (-Waggregate-return)
|
dnl (e.g. -Waddress) or causes problems with some flags (-Waggregate-return)
|
||||||
AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
|
AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
|
||||||
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
|
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
|
||||||
-Wwrite-strings -Wold-style-definition
|
-Wwrite-strings -Wold-style-definition
|
||||||
-Winit-self -Wmissing-include-dirs -Wno-multichar
|
-Winit-self -Wmissing-include-dirs -Wno-multichar
|
||||||
|
@ -315,7 +317,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl define an ERROR_CXXFLAGS Makefile variable
|
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
|
-Wmissing-declarations -Wredundant-decls
|
||||||
-Wwrite-strings
|
-Wwrite-strings
|
||||||
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar ])
|
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar ])
|
||||||
|
|
Loading…
Reference in a new issue