summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-24 19:56:40 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 14:22:12 +0200
commit9a67a12f797dd1d167adc75425c822d86ced364e (patch)
tree6dc1ef737a0757c26e7eb175b4b6d73820cef3a8
parenta6dc906750c251f2292dd4f634dcb64341752795 (diff)
Turn on more compiler warnings
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-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])