Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/compat_50 Limit -Wno-sign-compare to only rtsock...



details:   https://anonhg.NetBSD.org/src/rev/26a09fdda7b7
branches:  trunk
changeset: 454713:26a09fdda7b7
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Sep 26 02:00:27 2019 +0000

description:
Limit -Wno-sign-compare to only rtsock_50.c which by virtue of including
rtsock_shared.c and using m_len is a mess to fix.

diffstat:

 sys/modules/compat_50/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 01ad75ac60e1 -r 26a09fdda7b7 sys/modules/compat_50/Makefile
--- a/sys/modules/compat_50/Makefile    Thu Sep 26 01:39:22 2019 +0000
+++ b/sys/modules/compat_50/Makefile    Thu Sep 26 02:00:27 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2019/06/17 14:57:57 christos Exp $
+#      $NetBSD: Makefile,v 1.6 2019/09/26 02:00:27 christos Exp $
 
 .include "../Makefile.inc"
 
@@ -21,6 +21,8 @@
 
 SRCS+= rtsock_50.c
 
+COPTS.rtsock_50.c+=-Wno-sign-compare
+
 .PATH: ${S}/fs/puffs
 
 SRCS+= puffs_compat.c
@@ -33,6 +35,4 @@
 
 SRCS+= vnd_50.c
 
-WARNS= 3
-
 .include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index