summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-04-15 07:13:46 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-04-15 08:38:45 -0300
commita5f21714e6030ffd93669cb0c204d288c579793a (patch)
treeed591db026840b68c9a908bd2225d2ab504b21de
parent1351af141df9e99afe40b999006ba1cdfb926f24 (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 3a362a709..2c33ac8f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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