maintainer-feedback requested: [Bug 239192] graphics/drm-legacy-kmod: fix build on CURRENT with clang
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
Bugzilla Automation <[email protected]> has asked freebsd-x11 mailing list <[email protected]> for maintainer-feedback: Bug 239192: graphics/drm-legacy-kmod: fix build on CURRENT with clang https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239192 --- Description --- With powerpc64 switching to clang in head, I tried to compile drm-legacy with clang. It fails with many similar errors: /tmp/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr m_crtc.c:229:63: error: passing 'int *' to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Werror,-Wpointer-sign] ret = drm_gem_name_create(&dev->mode_config.crtc_names, obj, &new_id); ^~~~~~~ Add -Wno-error=pointer-sign to CFLAGS when using new clang. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "[email protected]"