Dmitry Timoshkov : vcruntime140_1: Fix compilation with clang.
Alexandre Julliard
julliard at winehq.org
Fri Oct 8 14:12:25 CDT 2021
Module: wine
Branch: master
Commit: b0a61ee8b0227056a57f7a3abbd4125940e144b9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b0a61ee8b0227056a57f7a3abbd4125940e144b9
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Fri Oct 8 10:22:58 2021 +0300
vcruntime140_1: Fix compilation with clang.
clang -c -o dlls/vcruntime140_1/except_x86_64.cross.o ../wine.src/dlls/vcruntime140_1/except_x86_64.c -Idlls/vcruntime140_1 \
-I../wine.src/dlls/vcruntime140_1 -Iinclude -I../wine.src/include -I../wine.src/include/msvcrt \
-D__WINESRC__ -D_UCRT -DWINE_CROSS_PE -Wall -target x86_64-windows -fno-strict-aliasing \
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self -Wno-pragma-pack \
-Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith -Wabsolute-value \
-Wno-format -Wnonnull -mcx16 -gdwarf-2 -gstrict-dwarf -g -O2
In file included from ../wine.src/dlls/vcruntime140_1/except_x86_64.c:25:
In file included from ../wine.src/include/wine/exception.h:25:
../wine.src/include/winternl.h:4239:82: error: unknown type name 'va_list'
NTSYSAPI NTSTATUS WINAPI RtlFormatMessage(LPCWSTR,ULONG,BOOLEAN,BOOLEAN,BOOLEAN,__ms_va_list *,LPWSTR,ULONG,ULONG*);
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/vcruntime140_1/except_x86_64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/vcruntime140_1/except_x86_64.c b/dlls/vcruntime140_1/except_x86_64.c
index 039da37d598..f50847d886d 100644
--- a/dlls/vcruntime140_1/except_x86_64.c
+++ b/dlls/vcruntime140_1/except_x86_64.c
@@ -20,6 +20,7 @@
#ifdef __x86_64__
+#include <stdarg.h>
#include <stdlib.h>
#include "wine/exception.h"
More information about the wine-cvs
mailing list