Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/netstat Format-string related warnings work fine now...



details:   https://anonhg.NetBSD.org/src/rev/aa82f6390734
branches:  trunk
changeset: 338737:aa82f6390734
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Jun 06 13:48:37 2015 +0000

description:
Format-string related warnings work fine now with both GCC 4.8 and
Clang.

diffstat:

 usr.bin/netstat/Makefile |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r db559c47bb7e -r aa82f6390734 usr.bin/netstat/Makefile
--- a/usr.bin/netstat/Makefile  Sat Jun 06 13:14:06 2015 +0000
+++ b/usr.bin/netstat/Makefile  Sat Jun 06 13:48:37 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.42 2015/05/15 06:58:59 ozaki-r Exp $
+#      $NetBSD: Makefile,v 1.43 2015/06/06 13:48:37 joerg Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/12/93
 
 .include <bsd.own.mk>
@@ -17,9 +17,6 @@
 CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/pf
 CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/route
 
-CWARNFLAGS.clang+=     -Wno-format
-COPTS.show.c += -Wno-format-nonliteral
-
 .PATH:  ${.CURDIR}/../../lib/libc/gen
 .PATH:  ${.CURDIR}/../../lib/libc/net
 .PATH:  ${.CURDIR}/../../sbin/route



Home | Main Index | Thread Index | Old Index