[Bug 281225] deskutils/sliderule: Fails to build with GCC 14: error: initialization of 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Sep 2024 12:45:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281225 Bug ID: 281225 Summary: deskutils/sliderule: Fails to build with GCC 14: error: initialization of 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Product: Ports & Packages Version: Latest Hardware: Any URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d efault-foo/2024-08-29_19h57m48s/logs/errors/sliderule- 1.0_11.log OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: joerg@FreeBSD.org Reporter: salvadore@freebsd.org Blocks: 281091 Assignee: joerg@FreeBSD.org Flags: maintainer-feedback?(joerg@FreeBSD.org) Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. =======================<phase: build >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sliderule-1.0_11 gcc14 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc14 -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSLIDERULE -c sr.c -o sr.o sr.c:7:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 7 | #endif lint | ^~~~ sr.c:56:20: error: initialization of 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 56 | Pixmap slidePix = NULL; | ^~~~ Stop. make: stopped in /usr/ports/audio/funktrackergold Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29_19h57m48s/logs/errors/sliderule-1.0_11.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281091 [Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc. -- You are receiving this mail because: You are the assignee for the bug.