mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
configure: Drop -Wcast-align
Commit message copied from core's commit from Benjamin Otte:
246f5dba96
Apparently gcc warns that GstMiniObject is not castable to
GstEvent/Message/Buffer due to them containing 64bit variables, even
though ARM hackers claim that those only need 4byte alignment. And as
long as gcc behaves that way, this warning is not very useful.
So we'll remove the warning until this problem is fixed.
Fixes #615698
This commit is contained in:
parent
1351af141d
commit
a5f21714e6
1 changed files with 2 additions and 2 deletions
|
@ -276,14 +276,14 @@ dnl -Wundef: too many broken headers
|
|||
dnl -Waggregate-return: causes problems with ObjC code like in osxvideosink
|
||||
AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
|
||||
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
|
||||
-Wwrite-strings -Wold-style-definition -Wcast-align
|
||||
-Wwrite-strings -Wold-style-definition
|
||||
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
|
||||
-Wnested-externs ])
|
||||
|
||||
dnl define an ERROR_CXXFLAGS Makefile variable
|
||||
AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
-Wwrite-strings -Wcast-align
|
||||
-Wwrite-strings
|
||||
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar ])
|
||||
|
||||
dnl define correct level for debugging messages
|
||||
|
|
Loading…
Reference in a new issue