From 101c59d8cbca9dda53fef3c15bb8f590eb1188b8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 3 Mar 2022 18:15:26 -0800 Subject: experiment: drop -Wshadow I'm totally fine with lexical scope in other languages. Why does it feel like such a big deal in C? --- src/luasocket/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/luasocket') diff --git a/src/luasocket/makefile b/src/luasocket/makefile index ceb372f..034f79a 100644 --- a/src/luasocket/makefile +++ b/src/luasocket/makefile @@ -70,7 +70,7 @@ SO_linux=so O_linux=o CC_linux=gcc DEF_linux=-DLUASOCKET_$(DEBUG) -CFLAGS_linux= -g -O2 -Wall -Wpedantic -Wshadow -Wextra $(DEF) +CFLAGS_linux= -g -O2 -Wall -Wpedantic -Wextra $(DEF) LDFLAGS_linux= -o LD_linux=ld SOCKET_linux=usocket.o @@ -82,7 +82,7 @@ SO_bsd=so O_bsd=o CC_bsd=gcc DEF_bsd=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN -CFLAGS_bsd=-g -O2 -Wall -Wshadow -Wextra -Wimplicit $(DEF) +CFLAGS_bsd=-g -O2 -Wall -Wextra -Wimplicit $(DEF) LDFLAGS_bsd=-O -shared -fpic -o LD_bsd=gcc SOCKET_bsd=usocket.o @@ -94,7 +94,7 @@ SO_solaris=so O_solaris=o CC_solaris=gcc DEF_solaris=-DLUASOCKET_$(DEBUG) -CFLAGS_solaris=-g -O2 -Wall -Wshadow -Wextra -Wimplicit $(DEF) +CFLAGS_solaris=-g -O2 -Wall -Wextra -Wimplicit $(DEF) LDFLAGS_solaris=-lnsl -lsocket -lresolv -O -shared -fpic -o LD_solaris=gcc SOCKET_solaris=usocket.o -- cgit 1.4.1-2-gfad0