cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: compilation error when cross compiling with mingw-w64 (32 bits)

From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 1 Nov 2011 12:59:55 +0100

2011/10/31 Vincent Torri wrote:

> In file included from tool_cb_see.c:35:0:
> tool_cb_see.h:30:0: warning: "ftruncate" redefined [enabled by default]

Fix pushed to repo.

> gtls.c: In function 'gtls_connect_step1':
> gtls.c:444:5: warning: 'gnutls_protocol_set_priority' is deprecated
> (declared at /opt/efl/include/gnutls/compat.h:344)
> [-Wdeprecated-declarations]
> gtls.c:452:3: warning: 'gnutls_certificate_type_set_priority' is deprecated
> (declared at /opt/efl/include/gnutls/compat.h:347)
> [-Wdeprecated-declarations]

Those are a bit more involved, although it shouldn't be too difficult
to fix properly. It seems that priorities can now be set with
gnutls_priority_set_direct() and some magic strings.

Are you up to fixing these?

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-01