From 76329c0206ede0a986da423e6a813ef91334f6cd Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 22 Nov 2021 19:01:07 -0800 Subject: standardize warning flags everywhere I'd like to enable -Wextra as well, but that creates some false positives. I've at least made my changes clean w.r.t. -Wextra. Now we have 4 remaining warnings with gcc 9.3 that seem genuine. Need to fix those. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 45f3b41..1d36c93 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,7 @@ PLAT= none CC= gcc -CFLAGS= -g -O2 -Wall -Wpedantic $(MYCFLAGS) +CFLAGS= -g -O2 -Wall -Wpedantic -Wshadow $(MYCFLAGS) AR= ar rc RANLIB= ranlib RM= rm -f -- cgit 1.4.1-2-gfad0