Warn about shadowing variables and functions.

This commit is contained in:
Stephan Gatzka
2016-11-27 18:18:00 +01:00
parent 7ed067e680
commit 1568015de6
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ INSTALL_LIBRARY_PATH = $(DESTDIR)$(PREFIX)/$(LIBRARY_PATH)
INSTALL ?= cp -a
R_CFLAGS = -fPIC -std=c89 -pedantic -Wall -Werror -Wstrict-prototypes -Wwrite-strings $(CFLAGS)
R_CFLAGS = -fPIC -std=c89 -pedantic -Wall -Werror -Wstrict-prototypes -Wwrite-strings -Wshadow $(CFLAGS)
uname := $(shell sh -c 'uname -s 2>/dev/null || echo false')