diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-17 12:08:30 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-17 12:09:25 +0100 |
commit | e92fe0fdcbcb823f14ee64b11e6364c6f49ae683 (patch) | |
tree | 23cba101299f3bc5b7c1b4b7dfff3ada8ec1813a | |
parent | 253d9acbcd1691e105c1efb85efd95fcb2154e42 (diff) |
Add more warning flags
The warnings are:
-Wcast-align
-Winit-self
-Wmissing-include-dirs
-Waddress
-Waggregate-return
-Wno-multichar
-Wnested-externs
No code needed to be fixed.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 11610d54f..a42d475cb 100644 --- a/configure.ac +++ b/configure.ac @@ -309,10 +309,10 @@ AG_GST_SET_PLUGINDIR 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]) +AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wcast-align -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 -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security]) +AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs]) dnl define correct level for debugging messages AG_GST_SET_LEVEL_DEFAULT($GST_GIT) |