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/5c9ab267c259
branches:  trunk
changeset: 459794:5c9ab267c259
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 c270872346cb -r 5c9ab267c259 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