Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/less upgrade less to WARNS=2 with -Wno-shadow.



details:   https://anonhg.NetBSD.org/src/rev/8606aea6ee67
branches:  trunk
changeset: 766882:8606aea6ee67
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 03 15:28:47 2011 +0000

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

diffstat:

 usr.bin/less/Makefile.inc |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r 297888008f4d -r 8606aea6ee67 usr.bin/less/Makefile.inc
--- a/usr.bin/less/Makefile.inc Sun Jul 03 15:28:25 2011 +0000
+++ b/usr.bin/less/Makefile.inc Sun Jul 03 15:28:47 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index