Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/drm Disable warnings about shadowing.



details:   https://anonhg.NetBSD.org/src/rev/7f7390ad6c07
branches:  trunk
changeset: 1028155:7f7390ad6c07
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:59:48 2021 +0000

description:
Disable warnings about shadowing.

Upstream does shadowing here, I'm feeling uncomfortable changing their
code.


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/drm/files.drmkms |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 08d25b8632fb -r 7f7390ad6c07 sys/external/bsd/drm2/drm/files.drmkms
--- a/sys/external/bsd/drm2/drm/files.drmkms    Sun Dec 19 01:59:41 2021 +0000
+++ b/sys/external/bsd/drm2/drm/files.drmkms    Sun Dec 19 01:59:48 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.drmkms,v 1.49 2021/12/19 01:59:27 riastradh Exp $
+#      $NetBSD: files.drmkms,v 1.50 2021/12/19 01:59:48 riastradh Exp $
 
 version        20180827
 
@@ -68,6 +68,7 @@
 makeoptions    drmkms  "CWARNFLAGS.drm_crtc.c"+="-Wno-missing-field-initializers"
 makeoptions    drmkms  "CWARNFLAGS.drm_crtc.c"+="-Wno-pointer-arith"
 makeoptions    drmkms  "CWARNFLAGS.drm_crtc.c"+="-Wno-shadow"
+makeoptions    drmkms  "CWARNFLAGS.drm_client_modeset.c"+="-Wno-shadow"
 makeoptions    drmkms  "CWARNFLAGS.drm_dp_helper.c"+="-Wno-pointer-arith"
 makeoptions    drmkms  "CWARNFLAGS.drm_edid.c"+="-Wno-shadow"
 makeoptions    drmkms  "CWARNFLAGS.drm_ioctl.c"+="-Wno-shadow"



Home | Main Index | Thread Index | Old Index