Document non-literal formats

This commit is contained in:
christos 2011-08-14 10:53:16 +00:00
parent 5adf1dc258
commit fe8677c354
5 changed files with 14 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.30 2011/07/01 03:58:10 mrg Exp $
# $NetBSD: Makefile,v 1.31 2011/08/14 10:53:16 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
#
# C Shell with process control; VM/UNIX VAX Makefile
@ -52,6 +52,9 @@ SUBDIR+=USD.doc
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4 && ${MACHINE_ARCH} == "vax"
COPTS.parse.c+= -O0
.endif
COPTS.printf.c = -Wno-format-nonliteral
COPTS.proc.c = -Wno-format-nonliteral
COPTS.strpct.c = -Wno-format-nonliteral
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2006/11/17 22:11:28 christos Exp $
# $NetBSD: Makefile,v 1.15 2011/08/14 10:53:16 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= date
@ -7,4 +7,6 @@ DPADD+= ${LIBUTIL}
LDADD+= -lutil
CPPFLAGS+=-I${.CURDIR}
COPTS.date.c = -Wno-format-nonliteral
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2009/02/14 08:31:13 lukem Exp $
# $NetBSD: Makefile,v 1.18 2011/08/14 10:53:17 christos Exp $
# @(#)Makefile 8.3 (Berkeley) 5/8/95
.include <bsd.own.mk>
@ -6,5 +6,6 @@
PROG= df
.PATH: ${NETBSDSRCDIR}/bin/csh
SRCS= df.c strpct.c
COPTS.strpct.c = -Wno-format-nonliteral
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.28 2002/06/19 08:11:55 jdolecek Exp $
# $NetBSD: Makefile,v 1.29 2011/08/14 10:53:17 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/2/93
PROG= ps
@ -7,5 +7,6 @@ DPADD= ${LIBM} ${LIBKVM}
LDADD= -lm -lkvm
CWARNFLAGS+= -Wno-format-y2k
COPTS.print.c = -Wno-format-nonliteral
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.96 2011/07/12 16:40:41 joerg Exp $
# $NetBSD: Makefile,v 1.97 2011/08/14 10:53:17 christos Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
.include <bsd.own.mk>
@ -82,5 +82,7 @@ NBCOMPATLIB= -L${COMPATOBJDIR} -lnbcompat
SUBDIR+=USD.doc
.endif
COPTS.printf.c = -Wno-format-nonliteral
.include <bsd.prog.mk>
.include <bsd.subdir.mk>