https://bugs.winehq.org/show_bug.cgi?id=56692
Bug ID: 56692 Summary: Wine-staging "new WoW64" build fails in Fedora 40 Product: Wine-staging Version: 9.8 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dimesio@earthlink.net CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
The OBS has not enabled i586 builds for Fedora 40, so I created spec files to do "new WoW64" builds. The wine-devel packages built fine, but the wine-staging build failed with:
[ 392s] dlls/combase/string.c: In function 'impl_from_HSTRING_BUFFER': [ 392s] include/winnt.h:888:46: error: initialization of 'const WCHAR (*)[1]' {aka 'const short unsigned int (*)[1]'} from incompatible pointer type 'HSTRING_BUFFER' {aka 'struct HSTRING_BUFFER__ *'} [-Wincompatible-pointer-types] [ 392s] 888 | const typeof(((type *)0)->field) *__ptr = (address); \
In Fedora 39, that's a warning, not an error, and the build succeeds.