Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libnpf This component is not WARNS>3 clean ...



details:   https://anonhg.NetBSD.org/src/rev/80b010a8779e
branches:  trunk
changeset: 782810:80b010a8779e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Nov 21 11:03:13 2012 +0000

description:
This component is not WARNS>3 clean (example: it includes socketvar.h
which does signed-unsigned comparison in an inline function).  Why it
compiled at all is one of those marvels of compiler technology.

diffstat:

 sys/rump/net/lib/libnpf/Makefile |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r 1f3ff4b74027 -r 80b010a8779e sys/rump/net/lib/libnpf/Makefile
--- a/sys/rump/net/lib/libnpf/Makefile  Wed Nov 21 08:47:13 2012 +0000
+++ b/sys/rump/net/lib/libnpf/Makefile  Wed Nov 21 11:03:13 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2012/09/16 13:47:42 rmind Exp $
+#      $NetBSD: Makefile,v 1.3 2012/11/21 11:03:13 pooka Exp $
 #
 # Public Domain.
 #
@@ -19,8 +19,6 @@
 
 SRCS+= component.c
 
-WARNS= 5
-
 CPPFLAGS+=     -D_NPF_TESTING
 CPPFLAGS+=     -I${.CURDIR}/../../../librump/rumpvfs
 



Home | Main Index | Thread Index | Old Index