From 3d9a4977dd7dccdf451dcd2d92403dcf6c492f88 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 6 Dec 2023 13:28:46 +0100 Subject: [PATCH] add more werrors --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 300ac4ed..80ca6280 100644 --- a/configure.ac +++ b/configure.ac @@ -421,7 +421,7 @@ dnl Turn on all warnings when using gcc dnl --------------------------------------------------------------------------- AS_VAR_IF([GCC], [yes], [dnl CFLAGS="$CFLAGS -Wall" - CFLAGS="$CFLAGS -Wmissing-declarations -Wmissing-prototypes" + CFLAGS="$CFLAGS -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion" # FIXME: Check for --enable-debug here CFLAGS="$CFLAGS -g" LDFLAGS="$LDFLAGS -g"