Enable -Wshadow by default

The code base is almost shadow-free now, so this won't add much noise to the compiles.
Problems I know about:
 lxt{,2}_write.c:  patch sent upstream
 cflexor.c:  exposes gray area of name space boundary
This commit is contained in:
Larry Doolittle
2008-12-29 16:03:16 -08:00
committed by Stephen Williams
parent b76c14e452
commit 31d67fcd3e
15 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ PS2PDF = @PS2PDF@
GIT = @GIT@
CPPFLAGS = @DEFS@ -I. -I$(srcdir) -DVERSION='"$(VERSION)"' @CPPFLAGS@
CXXFLAGS = -Wall @CXXFLAGS@
CXXFLAGS = -Wall -Wshadow @CXXFLAGS@
PICFLAGS = @PICFLAG@
LDFLAGS = @rdynamic@ @LDFLAGS@