From bc11abde3be9051bb7f3df2364b8b8171d8aed30 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Mon, 19 Jun 2023 23:48:21 +0000 Subject: [PATCH] cf/roken-frag.m4: Add a bunch more warnings. Note: the rk_WFLAGS in configure.ac appears to be dead code, overridden by the rk_WFLAGS in cf/roken-frag.m4. This confusing state of affairs should be improved. --- cf/roken-frag.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf/roken-frag.m4 b/cf/roken-frag.m4 index 30b1fec24..ae9f58f58 100644 --- a/cf/roken-frag.m4 +++ b/cf/roken-frag.m4 @@ -28,7 +28,7 @@ dnl C characteristics AC_REQUIRE([AC_C___ATTRIBUTE__]) AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([AC_C_CONST]) -rk_WFLAGS(-Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -Wshadow) +rk_WFLAGS(-Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -Wshadow -Wdiscarded-qualifiers -Wcast-qual -Wimplicit-fallthrough -Wenum-compare -Wunused-but-set-variable -Wunused-const-variable -Wunused-result -Wold-style-definition -Wwrite-strings) dnl -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes dnl -Wcast-qual -Wswitch -Wformat=2 -Wwrite-strings