Any more infos about the build failure for my (small) patch

Paul Vriens paul.vriens.wine at gmail.com
Fri Jul 23 04:18:17 CDT 2010


On 07/23/2010 10:53 AM, Uwe Bonnes wrote:
> Hello,
>
> on my Suse 11.3, /usr/include/ssl/ssl.h defines
> const SSL_METHOD *method;
> as does http://www.openssl.org/docs/ssl/ssl.html
> and so in
> ../dlls/winhttp/net.c and ../dlls/wininet/netconnection.c
>
> static SSL_METHOD *method;
> is flagges as an warning.
>
> My patch exchanged
> -static SSL_METHOD *method;
> +static const SSL_METHOD *method;
>
> but
> http://source.winehq.org/patches/
> flags
> 63746	Build failure	Uwe Bonnes 	Add-missing-const-qualifier.patc
>
> Can anybody give more information?

Haven't checked the code, but these are the extra warnings I get for 
winhttp:

../../../wine-git/dlls/winhttp/net.c: In function ‘netconn_init’:
../../../wine-git/dlls/winhttp/net.c:479: warning: passing argument 1 of 
‘pSSL_CTX_new’ discards qualifiers from pointer target type
../../../wine-git/dlls/winhttp/net.c:479: note: expected ‘struct 
SSL_METHOD *’ but argument is of type ‘const struct SSL_METHOD *’

-- 
Cheers,

Paul.



More information about the wine-devel mailing list