Module Name:    src
Committed By:   mrg
Date:           Sun Jul  3 15:28:47 UTC 2011

Modified Files:
        src/usr.bin/less: Makefile.inc

Log Message:
upgrade less to WARNS=2 with -Wno-shadow.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/less/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/less/Makefile.inc
diff -u src/usr.bin/less/Makefile.inc:1.4 src/usr.bin/less/Makefile.inc:1.5
--- src/usr.bin/less/Makefile.inc:1.4	Tue Apr 14 22:15:22 2009
+++ src/usr.bin/less/Makefile.inc	Sun Jul  3 15:28:47 2011
@@ -1,9 +1,9 @@
-#	$NetBSD: Makefile.inc,v 1.4 2009/04/14 22:15:22 lukem Exp $
+#	$NetBSD: Makefile.inc,v 1.5 2011/07/03 15:28:47 mrg Exp $
 
-WARNS?=	1	# many -Wshadow -Wcast-qual & other issues
+WARNS?=	2
 
 .if exists(${.CURDIR}/../../Makefile.inc)
 .include "${.CURDIR}/../../Makefile.inc"
 .endif
 
-CWARNFLAGS+=	-Wno-strict-prototypes -Wno-missing-prototypes
+CWARNFLAGS+=	-Wno-strict-prototypes -Wno-missing-prototypes -Wno-shadow

Reply via email to