From b86c9d9c837927ad321109effc7fa0cae09aa495 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 19 Nov 2025 16:31:52 +0100 Subject: [PATCH] configure: add -Wshadow to gcc/clang-specific CFLAGS --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index ab0cfcf..4f4d155 100755 --- a/configure +++ b/configure @@ -560,7 +560,7 @@ else fi if [ "x$MYCC" = "xgcc" ] || [ "x$MYCC" = "xclang" ]; then - MYCFLAGS="$MYCFLAGS -Wmissing-prototypes -Wall" + MYCFLAGS="$MYCFLAGS -Wmissing-prototypes -Wshadow -Wall" fi if [ "x$PKG_CONFIG" = "x" ]; then