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/2c137a8b060c
branches:  trunk
changeset: 996848:2c137a8b060c
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 239a63a0aeae -r 2c137a8b060c 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