https://bugs.winehq.org/show_bug.cgi?id=57293
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ralf.habacker@freenet.de
--- Comment #8 from Ralf Habacker ralf.habacker@freenet.de --- (In reply to Charlotte Pabst from comment #5)
My fix was merged as 885cb333. https://gitlab.winehq.org/wine/wine/-/merge_requests/6657
The commit https://gitlab.winehq.org/wine/wine/-/commit/7ce580d1fa0bb3acf98edbc4171ddbc... added by this merge request let build to fail with gcc 7.5 (detected on openSUSE Leap):
[ 264s] gcc -m64 -c -o dlls/coml2/stg_prop.o dlls/coml2/stg_prop.c -Idlls/coml2 -Iinclude -Iinclude/msvcrt -D_UCRT -D__WINESRC__ \ [ 264s] -DWINOLE32API= -Wall -pipe -fvisibility=hidden -fno-stack-protector -fno-strict-aliasing \ [ 264s] -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self -Wlogical-op \ [ 264s] -Wpointer-arith -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter \ [ 264s] -Wvla -Wwrite-strings -gdwarf-4 -fPIC -fasynchronous-unwind-tables -D_WIN32 -fno-builtin \ [ 264s] -fshort-wchar -Wno-format -mabi=ms -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 [ 264s] dlls/comdlg32/tests/itemdlg.c: In function 'test_filename': [ 264s] dlls/comdlg32/tests/itemdlg.c:1545:18: error: initializer element is not constant [ 264s] { desc2, long_ext } [ 264s] ^~~~~~~~ [ 264s] dlls/comdlg32/tests/itemdlg.c:1545:18: note: (near initialization for 'filterspec_long[0].pszSpec')
According to https://gitlab.winehq.org/wine/wine/-/wikis/Building-Wine, a minimum gcc version 4.4 is required, which is why it should also be buildable with gcc 7.5.