summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-04-15 07:24:16 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-04-15 10:26:45 -0300
commit27d7c799a6c7deddaa593f2e64d7ac4c7e7043c3 (patch)
treec4a5c1e0006b08ebe3147ffc6b77b6e3fa3fb4f8
parent822fd6a9ff93c06743a33a6662df7748d3ef7c57 (diff)
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
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c53775cd0..f55147243 100644
--- a/configure.ac
+++ b/configure.ac
@@ -244,14 +244,14 @@ dnl -Wundef - Windows headers check _MSC_VER unconditionally
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 -Wno-multichar
+ -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 -Wformat-nonliteral -Wformat-security
- -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar ])
+ -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar ])
dnl define correct level for debugging messages
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)