Bump WARNS where possible.

Checked by:	make universe
Approved by:	ed (co-mentor)
This commit is contained in:
Ulrich Spörlein 2010-02-15 14:07:40 +00:00
parent 784949026c
commit 2b6974bf61
8 changed files with 5 additions and 12 deletions

View File

@ -11,7 +11,7 @@ PROG= rmail
SRCS= rmail.c SRCS= rmail.c
MAN= rmail.8 MAN= rmail.8
WARNS?= 0 WARNS?= 2
CFLAGS+=-I${SENDMAIL_DIR}/include -I. CFLAGS+=-I${SENDMAIL_DIR}/include -I.
LIBSMDIR= ${.OBJDIR}/../../lib/libsm LIBSMDIR= ${.OBJDIR}/../../lib/libsm

View File

@ -4,8 +4,7 @@ PROG_CXX=devd
SRCS= devd.cc token.l parse.y y.tab.h SRCS= devd.cc token.l parse.y y.tab.h
MAN= devd.8 devd.conf.5 MAN= devd.8 devd.conf.5
WARNS= 0 WARNS?= 3
#WARNS?= 4
NO_SHARED?=YES NO_SHARED?=YES

View File

@ -3,6 +3,5 @@
PROG= devfs PROG= devfs
SRCS= devfs.c rule.c SRCS= devfs.c rule.c
MAN= devfs.8 MAN= devfs.8
WARNS?= 5
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -11,7 +11,7 @@ PROG= ffsinfo
SRCS= ffsinfo.c debug.c SRCS= ffsinfo.c debug.c
MAN= ffsinfo.8 MAN= ffsinfo.8
WARNS?= 0 WARNS?= 1
CFLAGS+=-DFS_DEBUG -I${GROWFS} CFLAGS+=-DFS_DEBUG -I${GROWFS}
DPADD= ${LIBUFS} DPADD= ${LIBUFS}
LDADD= -lufs LDADD= -lufs

View File

@ -9,9 +9,7 @@ SRCS+= g_bde_lock.c
# rijndael-fst.c does evil casting things which results in warnings on # rijndael-fst.c does evil casting things which results in warnings on
# 64 bit machines, the test-vectors check out however, so it works right. # 64 bit machines, the test-vectors check out however, so it works right.
.if ${MACHINE_ARCH} == "i386" .if ${MACHINE_ARCH} != "i386"
WARNS?= 5
.else
WARNS?= 3 WARNS?= 3
.endif .endif

View File

@ -2,7 +2,6 @@
# $FreeBSD$ # $FreeBSD$
PROG= mknod PROG= mknod
WARNS?= 0
MAN= mknod.8 MAN= mknod.8
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -11,7 +11,7 @@ MLINKS= mount_std.8 mount_devfs.8 \
MOUNT= ${.CURDIR}/../mount MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT} CFLAGS+= -I${MOUNT}
WARNS?= 0 WARNS?= 3
.PATH: ${MOUNT} .PATH: ${MOUNT}

View File

@ -11,8 +11,6 @@ LINKS= ${BINDIR}/sunlabel ${BINDIR}/disklabel
MLINKS= sunlabel.8 disklabel.8 MLINKS= sunlabel.8 disklabel.8
.endif .endif
WARNS?= 5
DPADD= ${LIBGEOM} DPADD= ${LIBGEOM}
LDADD= -lgeom LDADD= -lgeom