summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-21 17:24:14 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-21 17:24:14 +0100
commit4f5a49a4c7f36b822dd43cce339b066bbf0a7d47 (patch)
tree4e0f3da3829110d8cb1b14cc99ce69ff6e577513
parentc2846f698b08491254d8cffee1d42002dcd6c000 (diff)
Add a large set of warning flags.
None of them trigger warnings anymore, so nothing needed to be fixed.
-rw-r--r--configure.ac11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 61b37a55d..86831cf84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -272,10 +272,17 @@ dnl set location of plugin directory
AG_GST_SET_PLUGINDIR
dnl define an ERROR_CFLAGS Makefile variable
-AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wold-style-definition])
+AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
+ -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
+ -Wwrite-strings -Wold-style-definition -Wcast-align
+ -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
+ -Waggregate-return -Wnested-externs ])
dnl define an ERROR_CXXFLAGS Makefile variable
-AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [-Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wold-style-definition])
+AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [
+ -Wmissing-declarations -Wredundant-decls -Wundef
+ -Wwrite-strings -Wold-style-definition -Wcast-align
+ -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar ])
dnl define correct level for debugging messages
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)