[Bug 292067] [exp-run] Against llvm-21-update branch on GitHub
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 292067] [exp-run] Against llvm-21-update branch on GitHub"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Jan 2026 19:18:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292067
--- Comment #8 from Ed Maste <emaste@freebsd.org> ---
I needed to add `CWARNFLAGS += -Wno-default-const-init-var-unsafe` to drm-kmod
to avoid warnings from the `typecheck` macro:
In file included from
/home/emaste/src/freebsd-src/wipbsd/sys/modules/drm-kmod/drivers/gpu/drm/i915/display/intel_overlay.c:35:
/home/emaste/src/freebsd-src/wipbsd/sys/modules/drm-kmod/drivers/gpu/drm/i915/gt/intel_ring.h:63:2:
error: default initialization of an object of type 'typeof (ring->size)' (aka
'const unsigned int') leaves the object uninitialized
[-Werror,-Wdefault-const-init-var-unsafe]
63 | typecheck(typeof(ring->size), next);
| ^
/home/emaste/src/freebsd-src/wipbsd/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9:
note: expanded from macro 'typecheck'
31 | ({ type __var1; \
| ^
--
You are receiving this mail because:
You are on the CC list for the bug.