Compile lint with WARNS=3.
Currently there are too many -Wsign-compare issues for WARNS=4.
This commit is contained in:
parent
e54a1dbe60
commit
ae780f8105
|
@ -1,4 +1,6 @@
|
|||
# $NetBSD: Makefile.inc,v 1.9 2002/02/04 08:37:37 thorpej Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.10 2009/04/14 09:09:59 lukem Exp $
|
||||
|
||||
WARNS?= 3 # XXX: fails -Wsign-compare
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.41 2009/02/14 14:05:58 uebayasi Exp $
|
||||
# $NetBSD: Makefile,v 1.42 2009/04/14 09:10:00 lukem Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -6,7 +6,6 @@ PROG= lint1
|
|||
SRCS= cgram.y scan.l mem1.c mem.c err.c main1.c decl.c tree.c func.c \
|
||||
init.c emit.c emit1.c inittyp.c tyname.c print.c
|
||||
MAN= lint.7
|
||||
WARNS= 3 # this code is by no means -Wsign-compare friendly
|
||||
YHEADER=
|
||||
#CFLAGS+=-g
|
||||
|
||||
|
|
Loading…
Reference in New Issue