summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 00:20:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 00:20:49 +0300
commit85ebe37e1ef02870d4aa1fa37da032b8f9eb1e5e (patch)
tree5e54ccf9fca67104ef5c1adaab04fb20d34b4937 /configure.ac
parentee9d33fcb7ca31920ff7b7e019fe3707f0475907 (diff)
downloadplugin-85ebe37e1ef02870d4aa1fa37da032b8f9eb1e5e.tar.gz
plugin-85ebe37e1ef02870d4aa1fa37da032b8f9eb1e5e.tar.bz2
plugin-85ebe37e1ef02870d4aa1fa37da032b8f9eb1e5e.tar.xz
plugin-85ebe37e1ef02870d4aa1fa37da032b8f9eb1e5e.zip
Add more warnings into configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index de7bf95..bec3c79 100644
--- a/configure.ac
+++ b/configure.ac
@@ -148,6 +148,14 @@ AC_CHECK_COMPILER_WFLAG(suggest-attribute=noreturn)
AC_CHECK_COMPILER_WFLAG(undef)
# disabled for now
#AC_CHECK_COMPILER_WFLAG(cast-qual)
+AC_CHECK_COMPILER_WFLAG(logical-op)
+AC_CHECK_COMPILER_WFLAG(nested-externs)
+AC_CHECK_COMPILER_WFLAG(old-style-definition)
+AC_CHECK_COMPILER_WFLAG(overlength-strings)
+AC_CHECK_COMPILER_WFLAG(redundant-decls)
+#AC_CHECK_COMPILER_WNOFLAG(format-nonliteral)
+#AC_CHECK_COMPILER_WNOFLAG(switch)
+#AC_CHECK_COMPILER_WNOFLAG(missing-field-initializers)
AC_CHECK_FUNC([strnlen],[CFLAGS="$CFLAGS -DHAVE_STRNLEN"])
AC_CHECK_FUNC([setrlimit],[CLAGS="$CFLAGS -DHAVE_SETRLIMIT"])