aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cd15ed1..f11facf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,28 @@ UL_WARN_ADD([-Wduplicated-branches])
UL_WARN_ADD([-Wrestrict])
UL_WARN_ADD([-Wnull-dereference])
UL_WARN_ADD([-pedantic])
+UL_WARN_ADD([-Wpedantic])
+UL_WARN_ADD([-Walloc-zero])
+UL_WARN_ADD([-Wcast-align])
+UL_WARN_ADD([-Wcast-align=strict])
+UL_WARN_ADD([-Wcast-qual])
+UL_WARN_ADD([-Wdangling-else])
+UL_WARN_ADD([-Wdate-time])
+UL_WARN_ADD([-Wdouble-promotion])
+UL_WARN_ADD([-Wformat-nonliteral])
+UL_WARN_ADD([-Wformat-security])
+UL_WARN_ADD([-Wformat-signedness])
+UL_WARN_ADD([-Wmissing-format-attribute])
+UL_WARN_ADD([-Wmissing-noreturn])
+UL_WARN_ADD([-Wpacked])
+UL_WARN_ADD([-Wpacked-not-aligned])
+UL_WARN_ADD([-Wredundant-decls])
+UL_WARN_ADD([-Wswitch-default])
+UL_WARN_ADD([-Wswitch-enum])
+UL_WARN_ADD([-Wtrampolines])
+UL_WARN_ADD([-Wundef])
+UL_WARN_ADD([-Wunused-const-variable])
+UL_WARN_ADD([-Wvla])
AC_SUBST([WARN_CFLAGS])