[Bug 52007] New: compile fails since wine 6.20: winnt.h:6508:34: error: definition of builtin function '_InterlockedCompareExchange128'
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Nov 8 20:28:20 CST 2021
https://bugs.winehq.org/show_bug.cgi?id=52007
Bug ID: 52007
Summary: compile fails since wine 6.20: winnt.h:6508:34: error:
definition of builtin function
'_InterlockedCompareExchange128'
Product: Wine
Version: 6.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: fast.rizwaan at gmail.com
Distribution: ---
wine 6.19 compiles fine, but since wine 6.20 compiler gives this error. I'm
building wine in flatpak. Kindly guide.
https://github.com/fastrizwaan/flatpak-wine
----
x86_64-unknown-linux-gnu-gcc -m64 -c -o tools/winebuild/spec16.o
../tools/winebuild/spec16.c -Itools/winebuild -I../tools/winebuild -Iinclude \
-I../include -D__WINESRC__ -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-2 \
-gstrict-dwarf -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fexceptions -fstack-protector-strong -grecord-gcc-switches
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
In file included from ../dlls/acledit/main.c:23:
In file included from ../include/windef.h:290:
../include/winnt.h:6508:34: error: definition of builtin function
'_InterlockedCompareExchange128'
static FORCEINLINE unsigned char InterlockedCompareExchange128( volatile
__int64 *dest, __int64 xchg_high, __int64 xchg_low, __int64 *compare )
^
../include/winnt.h:6495:39: note: expanded from macro
'InterlockedCompareExchange128'
#define InterlockedCompareExchange128 _InterlockedCompareExchange128
^
1 error generated.
----
--
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.
More information about the wine-bugs
mailing list