Source-Changes-HG archive

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

[src/trunk]: src/sys/conf mark pf.c, radeon_cs.c and via_dmablit.c for no fal...



details:   https://anonhg.NetBSD.org/src/rev/e391f07c0b52
branches:  trunk
changeset: 448822:e391f07c0b52
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 10 05:01:59 2019 +0000

description:
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.

diffstat:

 sys/conf/copts.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r c32cd42bcd8c -r e391f07c0b52 sys/conf/copts.mk
--- a/sys/conf/copts.mk Sun Feb 10 04:03:03 2019 +0000
+++ b/sys/conf/copts.mk Sun Feb 10 05:01:59 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index