Date: Tue, 03 Sep 2024 13:03:41 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281231] emulators/wine8: Fails to build with GCC 14: error: implicit declaration of function 'ARRAY_SIZE' [-Wimplicit-function-declaration] Message-ID: <bug-281231-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281231 Bug ID: 281231 Summary: emulators/wine8: Fails to build with GCC 14: error: implicit declaration of function 'ARRAY_SIZE' [-Wimplicit-function-declaration] 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/wine8-8.0. 2_2.log OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: salvadore@freebsd.org Blocks: 281091 Flags: maintainer-feedback?(gerald@FreeBSD.org) Assignee: gerald@FreeBSD.org Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. libs/wine/config.c: In function 'get_runtime_exedir': libs/wine/config.c:150:35: error: implicit declaration of function 'ARRAY_S= IZE' [-Wimplicit-function-declaration] 150 | if (dir && !sysctl( pathname, ARRAY_SIZE( pathname ), dir, &dir_size, NULL, 0 )) | ^~~~~~~~~~ gmake: *** [Makefile:171991: libs/wine/config.o] Error 1 *** Error code 1 Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29= _19h57m48s/logs/errors/wine8-8.0.2_2.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html 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-281231-7788>