From 399f2c69806923ab0f541650c78bcba960ad5583 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 15 Apr 2010 07:20:20 -0300 Subject: [PATCH] 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 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c9c6106559..02d7910b64 100644 --- a/configure.ac +++ b/configure.ac @@ -189,13 +189,13 @@ dnl define an ERROR_CFLAGS Makefile variable AG_GST_SET_ERROR_CFLAGS($GST_GIT, [ -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition - -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress + -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 - -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wcast-align + -Wwrite-strings -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar])