Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pkg_install/sbin/pkg_create Treat implicit-fall...



details:   https://anonhg.NetBSD.org/src/rev/630f262dd2d1
branches:  trunk
changeset: 998058:630f262dd2d1
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Apr 06 10:29:13 2019 +0000

description:
Treat implicit-fallthrough only as a warning

diffstat:

 external/bsd/pkg_install/sbin/pkg_create/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 22d57e68b3f3 -r 630f262dd2d1 external/bsd/pkg_install/sbin/pkg_create/Makefile
--- a/external/bsd/pkg_install/sbin/pkg_create/Makefile Sat Apr 06 09:33:07 2019 +0000
+++ b/external/bsd/pkg_install/sbin/pkg_create/Makefile Sat Apr 06 10:29:13 2019 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2009/02/02 20:47:21 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2019/04/06 10:29:13 pgoyette Exp $
 # Original from FreeBSD, no rcs id.
 
 PROG= pkg_create
 SRCS= main.c perform.c pl.c util.c build.c
 
+COPTS.main.c+= -Wno-error=implicit-fallthrough
+
 .include <bsd.init.mk>
 
 .PATH: ${DIST}/create



Home | Main Index | Thread Index | Old Index