cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Vincent Torri <vincent.torri_at_gmail.com>
Date: Mon, 31 Oct 2011 23:35:10 +0100

On Mon, Oct 31, 2011 at 10:45 PM, Yang Tse <yangsita_at_gmail.com> wrote:

> 2011/10/31 Vincent Torri wrote:
>
> > ok, i was curious and tried the last snapshot. No compilation problem
> with
> > mingw-w64, 32 bits.
>
> Good to know. Thanks.
>
> > Just a warning but you're certainly aware of it : ../lib/setup.h:322:0:
> > warning: "lseek" redefined [enabled by default]
>
> Fix pushed just now.
>

it fixes the warning indeed. Some other warnings i have (gnuTLS 2.12.10):

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]

In file included from tool_cb_see.c:35:0:
tool_cb_see.h:30:0: warning: "ftruncate" redefined [enabled by default]
/home/torri/local/opt/mingw-w64-x86_32/bin/../lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-mingw32/include/unistd.h:56:0:
note: this is the location of the previous definition

Those are the last ones.

regards

Vincent Torri

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-31