[PATCH 0/1] MR4957: bcrypt: Stop compile error when gnutls is missing.
In file included from dlls/bcrypt/gnutls.c:1916: include/windef.h:112:24: error: unknown type name ‘va_list’ 112 | # define __ms_va_list va_list | ^~~~~~~ include/winbase.h:2076:84: note: in expansion of macro ‘__ms_va_list’ 2076 | WINBASEAPI DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,DWORD,__ms_va_list*); -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4957
From: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> In file included from dlls/bcrypt/gnutls.c:1916: include/windef.h:112:24: error: unknown type name ‘va_list’ 112 | # define __ms_va_list va_list | ^~~~~~~ include/winbase.h:2076:84: note: in expansion of macro ‘__ms_va_list’ 2076 | WINBASEAPI DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,DWORD,__ms_va_list*); --- dlls/bcrypt/gnutls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/bcrypt/gnutls.c b/dlls/bcrypt/gnutls.c index ec1f0fb09ce..9f679b29d0f 100644 --- a/dlls/bcrypt/gnutls.c +++ b/dlls/bcrypt/gnutls.c @@ -24,9 +24,10 @@ #include "config.h" +#include <stdarg.h> + #ifdef HAVE_GNUTLS_CIPHER_INIT -#include <stdarg.h> #include <stdlib.h> #include <assert.h> #include <sys/types.h> -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4957
I can't reproduce this. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4957#note_59317
This merge request was closed by Alistair Leslie-Hughes. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4957
I was just trying to move wine-staging patches along. It looks like, in the past there was a FIXME in the #else section which is no longer there. Sorry for the noise. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4957#note_59318
participants (3)
-
Alistair Leslie-Hughes -
Alistair Leslie-Hughes (@alesliehughes) -
Hans Leidekker (@hans)