[Bug 51842] New: include/winnt.h:403:50: error: size of unnamed array is negative
https://bugs.winehq.org/show_bug.cgi?id=51842 Bug ID: 51842 Summary: include/winnt.h:403:50: error: size of unnamed array is negative Product: Wine Version: 6.18 Hardware: x86 OS: NetBSD Status: NEW Severity: blocker Priority: P2 Component: wldap32 Assignee: wine-bugs(a)winehq.org Reporter: austinenglish(a)gmail.com --- dlls/wldap32/libldap.o --- gcc -c -o dlls/wldap32/libldap.o dlls/wldap32/libldap.c -Idlls/wldap32 -Iinclude -D__WINESRC__ -D_UCRT -DWINE_UNIX_LIB -fPIC -fasynchronous-unwind-tables -Wall -pipe -fno-stack-protector -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 -march=i586 -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R7/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -g In file included from include/windef.h:290:0, from dlls/wldap32/libldap.c:40: include/winnt.h:403: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 (nb4 20200810) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. NetBSD localhost 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 mkrepro(a)mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386 Workaround is to run ./configure using --without-ldap -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51842 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51842 --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> --- This may have been fixed with 25946b48148784e8275c1685f6498ab88f553ca3. Can you confirm? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51842 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |25946b48148784e8275c1685f64 | |98ab88f553ca3 Resolution|--- |FIXED --- Comment #2 from Austin English <austinenglish(a)gmail.com> --- (In reply to Hans Leidekker from comment #1)
This may have been fixed with 25946b48148784e8275c1685f6498ab88f553ca3. Can you confirm?
Yes and no; libldap.o now compiles, but wldap32 fails to build, because ntdll can't be built, because of bug 51841 and bug 51843. But those are separate issues :). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51842 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.13. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51842 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51842 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0.x |--- --- Comment #4 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 7.0.x milestone from bug fixes included in 7.0.2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla