about summary refs log tree commit diff stats
path: root/src/luasocket
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-03-03 18:15:26 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-03-03 18:15:26 -0800
commit101c59d8cbca9dda53fef3c15bb8f590eb1188b8 (patch)
treeaa594c0c0c27e70f768794373582b53598e29f1f /src/luasocket
parent81849716faf31397dce443c3fa28723d22ac6d5a (diff)
downloadteliva-101c59d8cbca9dda53fef3c15bb8f590eb1188b8.tar.gz
experiment: drop -Wshadow
I'm totally fine with lexical scope in other languages. Why does it feel
like such a big deal in C?
Diffstat (limited to 'src/luasocket')
-rw-r--r--src/luasocket/makefile6
1 files changed, 3 insertions, 3 deletions
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