mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
configure: also remove -Waggregate-return from warning flags
It causes problems with Objective-C code like in osxvideosink. Fixes #613663.
This commit is contained in:
parent
62bd0cd0fa
commit
f30f907c37
1 changed files with 3 additions and 1 deletions
|
@ -272,11 +272,13 @@ dnl set location of plugin directory
|
||||||
AG_GST_SET_PLUGINDIR
|
AG_GST_SET_PLUGINDIR
|
||||||
|
|
||||||
dnl define an ERROR_CFLAGS Makefile variable
|
dnl define an ERROR_CFLAGS Makefile variable
|
||||||
|
dnl -Wundef: too many broken headers
|
||||||
|
dnl -Waggregate-return: causes problems with ObjC code like in osxvideosink
|
||||||
AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
|
AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
|
||||||
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
|
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
|
||||||
-Wwrite-strings -Wold-style-definition -Wcast-align
|
-Wwrite-strings -Wold-style-definition -Wcast-align
|
||||||
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
|
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
|
||||||
-Waggregate-return -Wnested-externs ])
|
-Wnested-externs ])
|
||||||
|
|
||||||
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($GST_GIT, [
|
||||||
|
|
Loading…
Reference in a new issue