https://bugs.winehq.org/show_bug.cgi?id=56751
Bug ID: 56751 Summary: Regression: unable to build due to initializer element is not constant error Product: Wine Version: 9.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dofficialgman@gmail.com Distribution: ---
Created attachment 76536 --> https://bugs.winehq.org/attachment.cgi?id=76536 full wine configure and build log
See the full log attached. A snippet from the end is also pasted for ease of use. The last version of wine I have personally built under the same environment and configuration settings is wine 9.3, versions between 9.3 and 9.9 I have not attempted to build.
../wine-9.9/dlls/mf/tests/transform.c: In function 'test_video_processor_with_dxgi_manager': ../wine-9.9/dlls/mf/tests/transform.c:9134:49: error: initializer element is not constant static const MFVideoArea aperture = {.Area={set_width, set_height}}; ^~~~~~~~~ ../wine-9.9/dlls/mf/tests/transform.c:9134:49: note: (near initialization for 'aperture.Area.cx') ../wine-9.9/dlls/mf/tests/transform.c:9134:60: error: initializer element is not constant static const MFVideoArea aperture = {.Area={set_width, set_height}}; ^~~~~~~~~~ ../wine-9.9/dlls/mf/tests/transform.c:9134:60: note: (near initialization for 'aperture.Area.cy') i686-w64-mingw32-gcc -c -o dlls/mfplat/i386-windows/sample.o ../wine-9.9/dlls/mfplat/sample.c -Idlls/mfplat -I../wine-9.9/dlls/mfplat \ -Iinclude -I../wine-9.9/include -I../wine-9.9/include/msvcrt -D_UCRT -D__WINESRC__ \ -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Winit-self -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \ -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \ -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -gdwarf-4 -g -O2 Makefile:132024: recipe for target 'dlls/mf/tests/i386-windows/transform.o' failed make: *** [dlls/mf/tests/i386-windows/transform.o] Error 1 make: *** Waiting for unfinished jobs.... ../wine-9.9/dlls/mf/tests/transform.c: In function 'test_video_processor_with_dxgi_manager': ../wine-9.9/dlls/mf/tests/transform.c:9134:49: error: initializer element is not constant static const MFVideoArea aperture = {.Area={set_width, set_height}}; ^~~~~~~~~ ../wine-9.9/dlls/mf/tests/transform.c:9134:49: note: (near initialization for 'aperture.Area.cx') ../wine-9.9/dlls/mf/tests/transform.c:9134:60: error: initializer element is not constant static const MFVideoArea aperture = {.Area={set_width, set_height}}; ^~~~~~~~~~ ../wine-9.9/dlls/mf/tests/transform.c:9134:60: note: (near initialization for 'aperture.Area.cy') Makefile:132033: recipe for target 'dlls/mf/tests/x86_64-windows/transform.o' failed make: *** [dlls/mf/tests/x86_64-windows/transform.o] Error 1