From: Thiago Santos Date: Thu, 15 Apr 2010 10:18:05 +0000 (-0300) Subject: configure: Drop -Wcast-align X-Git-Tag: RELEASE-0.10.29~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c84142d39f8a322f15fba633963fe95802332abd;p=platform%2Fupstream%2Fgst-plugins-base.git configure: Drop -Wcast-align Commit message copied from core's commit from Benjamin Otte: 246f5dba96a5b50bb74621af67b30942cca72af5 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 --- diff --git a/configure.ac b/configure.ac index 916ebcc..c42fd96 100644 --- a/configure.ac +++ b/configure.ac @@ -328,14 +328,14 @@ dnl define an ERROR_CFLAGS Makefile variable dnl -Wformat-nonliteral - see ext/pango/gstclockoverlay.c and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39438 AG_GST_SET_ERROR_CFLAGS($GST_GIT, [ -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef - -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wcast-align + -Wwrite-strings -Wformat-nonliteral -Wformat-security -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, [ -Wmissing-declarations -Wredundant-decls -Wundef - -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wcast-align + -Wwrite-strings -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar])