[Bug 43971] Wine 2.20 Bcrypt compilation fails under older linux systems while Wine 2.0.3 compiles fine

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 21 11:18:18 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=43971

--- Comment #6 from Kol <kol at MV8660.spb.edu> ---
This is not a Wine bug nor a compiler bug, but is an incompatibility
between recent Wine versions and old version of GnuTLS. On my very
old system equipped with GnuTLS 2.4.2 in the file <gnutls/gnutls.h>
in the definition of type "gnutls_retr_st" there is a union member

union key
{ ...
} key;

which is in contradiction with "struct key" in "bcrypt_main.c".
In newer versions of GnuTLS this union type becomes nameless:

union
{ ...
} key;

So the solution is or to upgrade GnuTLS, or simply to replace
the string "union key" with "union" in the file
"/usr/include/gnutls/gnutls.h".

-- 
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