Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules/i915drmkms Suppress some harmless clang warnings.
details: https://anonhg.NetBSD.org/src/rev/7d55f12fe1db
branches: trunk
changeset: 1027882:7d55f12fe1db
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 01:03:42 2021 +0000
description:
Suppress some harmless clang warnings.
diffstat:
sys/modules/i915drmkms/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 9be8a4cb90d0 -r 7d55f12fe1db sys/modules/i915drmkms/Makefile
--- a/sys/modules/i915drmkms/Makefile Sun Dec 19 01:03:32 2021 +0000
+++ b/sys/modules/i915drmkms/Makefile Sun Dec 19 01:03:42 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2021/06/03 15:59:04 nia Exp $
+# $NetBSD: Makefile,v 1.19 2021/12/19 01:03:42 riastradh Exp $
.include "../Makefile.inc"
.include "../drmkms/Makefile.inc"
@@ -26,6 +26,8 @@
CWARNFLAGS+= -Wno-shadow
CWARNFLAGS+= -Wno-pointer-arith
+CWARNFLAGS.clang+= -Wno-error=enum-conversion
+CWARNFLAGS.clang+= -Wno-error=unused-function
# Code imported from Linux - expects signed overflow to be OK.
COPTS+= -fwrapv
Home |
Main Index |
Thread Index |
Old Index