user/wine: (pmmx) FTBFS: include/winnt.h:406:50: error: size of unnamed array is negative
Found on pmmx:
...
gcc -c -o dlls/wmphoto/wincodecs_common.o dlls/windowscodecs/wincodecs_common.c -Idlls/wmphoto -Idlls/windowscodecs -Iinclude \
-Iinclude/msvcrt -I./libs/jxr/jxrgluelib -I./libs/jxr/image/sys -D__WINESRC__ -D_UCRT -fno-PIC \
-fasynchronous-unwind-tables -D_WIN32 -fno-builtin -fshort-wchar -Wall -pipe -fcf-protection=none \
-fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
-Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
-Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
-gdwarf-4 -fno-omit-frame-pointer -O2 -fno-omit-frame-pointer -ggdb -march=pentium-mmx -mtune=pentium-m -g
tools/widl/widl -o dlls/wmphoto/wmphoto_r.res --nostdinc -Ldlls/\* -Idlls/wmphoto -Idlls/windowscodecs -Iinclude \
-Iinclude/msvcrt -I./libs/jxr/jxrgluelib -I./libs/jxr/image/sys -D__WINESRC__ -D_UCRT \
dlls/wmphoto/wmphoto.idl
In file included from include/windef.h:290,
from dlls/wldap32/libldap.c:40:
include/winnt.h:406:50: error: size of unnamed array is negative
#define C_ASSERT(e) extern void __C_ASSERT__(int [(e)?1:-1])
^
dlls/wldap32/libldap.c:56:1: note: in expansion of macro ‘C_ASSERT’
C_ASSERT( sizeof(struct timevalU) == sizeof(struct timeval) );
^~~~~~~~
gcc -c -o libs/jxr/image/decode/JXRTranscode.o libs/jxr/image/decode/JXRTranscode.c -Ilibs/jxr -Iinclude -Iinclude/msvcrt \
-Ilibs/jxr/jxrgluelib -Ilibs/jxr/image/sys -DDISABLE_PERF_MEASUREMENT -D_UCRT -fno-PIC \
-fasynchronous-unwind-tables -D_WIN32 -fno-builtin -fshort-wchar -pipe -fcf-protection=none \
-fno-stack-protector -fno-strict-aliasing -Wno-packed-not-aligned -gdwarf-4 \
-fno-omit-frame-pointer -O2 -fno-omit-frame-pointer -ggdb -march=pentium-mmx -mtune=pentium-m -g
gcc -c -o libs/jxr/image/decode/decode.o libs/jxr/image/decode/decode.c -Ilibs/jxr -Iinclude -Iinclude/msvcrt \
-Ilibs/jxr/jxrgluelib -Ilibs/jxr/image/sys -DDISABLE_PERF_MEASUREMENT -D_UCRT -fno-PIC \
-fasynchronous-unwind-tables -D_WIN32 -fno-builtin -fshort-wchar -pipe -fcf-protection=none \
-fno-stack-protector -fno-strict-aliasing -Wno-packed-not-aligned -gdwarf-4 \
-fno-omit-frame-pointer -O2 -fno-omit-frame-pointer -ggdb -march=pentium-mmx -mtune=pentium-m -g
make: *** [Makefile:153600: dlls/wldap32/libldap.o] Error 1