Date: Fri, 31 Jan 2025 14:51:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 284488] emulators/wine-proton: Fails to build with GCC 14: error: assignment to 'caddr_t' {aka 'char *'} from 'INT_PTR' {aka 'long int'} makes pointer from integer without a cast [-Wint-conversion] Message-ID: <bug-284488-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284488 Bug ID: 284488 Summary: emulators/wine-proton: Fails to build with GCC 14: error: assignment to 'caddr_t' {aka 'char *'} from 'INT_PTR' {aka 'long int'} makes pointer from integer without a cast [-Wint-conversion] Product: Ports & Packages Version: Latest Hardware: Any URL: https://pkg-status.freebsd.org/gohan06/data/134amd64-d efault-foo/2025-01-24_09h47m14s/logs/wine-proton-9.0.3 .log OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org CC: iwtcex@gmail.com, vvd@FreeBSD.org Blocks: 281091 CC: iwtcex@gmail.com Flags: maintainer-feedback?(iwtcex@gmail.com) The port fails to build with GCC 14, which is about to become GCC_DEFAULT version. This link can help: https://gcc.gnu.org/gcc-14/porting_to.html Please note that a workaround has already been suggested in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091#c16 . dlls/ntdll/unix/virtual.c: In function 'r_debug_add_module': dlls/ntdll/unix/virtual.c:161:32: error: assignment to 'caddr_t' {aka 'char= *'} from 'INT_PTR' {aka 'long int'} makes pointer from integer without a cast [-Wint-conversion] 161 | if (ptr) entry->map.l_addr =3D offset; | ^ dlls/ntdll/unix/virtual.c:165:27: error: assignment to 'caddr_t' {aka 'char= *'} from 'INT_PTR' {aka 'long int'} makes pointer from integer without a cast [-Wint-conversion] 165 | entry->map.l_addr =3D offset; | ^ Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091 [Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284488-7788>