From: Benjamin Otte Date: Wed, 14 Apr 2010 09:19:14 +0000 (+0200) Subject: configure: Remove -Wcast-align X-Git-Tag: RELEASE-0.10.29~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=246f5dba96a5b50bb74621af67b30942cca72af5;p=platform%2Fupstream%2Fgstreamer.git configure: Remove -Wcast-align 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. https://bugzilla.gnome.org/show_bug.cgi?id=615698 --- diff --git a/configure.ac b/configure.ac index a37f0e6..902cbc6 100644 --- a/configure.ac +++ b/configure.ac @@ -587,7 +587,7 @@ GST_PKG_DEPS="glib-2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0" AC_SUBST(GST_PKG_DEPS) 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 -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs]) +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]) dnl define correct level for debugging messages AG_GST_SET_LEVEL_DEFAULT($GST_GIT)