Module Name:    src
Committed By:   mrg
Date:           Sun Feb 10 05:01:59 UTC 2019

Modified Files:
        src/sys/conf: copts.mk

Log Message:
mark pf.c, radeon_cs.c and via_dmablit.c for no fall thru error.

this was already done in the various modules, but not in the main
kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/conf/copts.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/copts.mk
diff -u src/sys/conf/copts.mk:1.2 src/sys/conf/copts.mk:1.3
--- src/sys/conf/copts.mk:1.2	Tue Feb  5 09:29:19 2019
+++ src/sys/conf/copts.mk	Sun Feb 10 05:01:59 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: copts.mk,v 1.2 2019/02/05 09:29:19 mrg Exp $
+#	$NetBSD: copts.mk,v 1.3 2019/02/10 05:01:59 mrg Exp $
 
 # MI per-file compiler options required.
 
@@ -6,7 +6,10 @@
 _SYS_CONF_COPTS_MK_=1
 
 .if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
-COPTS.zlib.c+=	-Wno-error=implicit-fallthrough
+COPTS.zlib.c+=		-Wno-error=implicit-fallthrough
+COPTS.pf.c+=		-Wno-error=implicit-fallthrough
+COPTS.radeon_cs.c+=	-Wno-error=implicit-fallthrough
+COPTS.via_dmablit.c+=	-Wno-error=implicit-fallthrough
 .endif
 
 .endif

Reply via email to