Source-Changes-HG archive

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

[src/trunk]: src/external/historical/nawk/bin document non-literal format str...



details:   https://anonhg.NetBSD.org/src/rev/82b8d4dd1537
branches:  trunk
changeset: 768411:82b8d4dd1537
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Aug 16 10:45:37 2011 +0000

description:
document non-literal format strings

diffstat:

 external/historical/nawk/bin/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f74b957c0438 -r 82b8d4dd1537 external/historical/nawk/bin/Makefile
--- a/external/historical/nawk/bin/Makefile     Tue Aug 16 10:39:31 2011 +0000
+++ b/external/historical/nawk/bin/Makefile     Tue Aug 16 10:45:37 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2011/08/09 13:06:31 joerg Exp $
+#      $NetBSD: Makefile,v 1.8 2011/08/16 10:45:37 christos Exp $
 
 WARNS?= 4
 CWARNFLAGS.clang+=     -Wno-self-assign
@@ -20,6 +20,8 @@
 .if defined(HAVE_GCC) || defined(HAVE_PCC)
 COPTS+=        -Wno-pointer-sign
 .endif
+COPTS.run.c += -Wno-format-nonliteral
+COPTS.tran.c += -Wno-format-nonliteral
 
 # info file originally from GNU awk 3.1.3, adjusted for nawk slightly
 .PATH: ${NETBSDSRCDIR}/external/gpl2/gawk/dist



Home | Main Index | Thread Index | Old Index