cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: examples compiler warnings

From: Guenter <lists_at_gknw.net>
Date: Thu, 22 Sep 2011 17:04:01 +0200

Am 22.09.2011 16:58, schrieb Steve Holme:
>> the other *_err_long warnings with MinGW64 might be because surprisingly
>> sizeog(long) is 4 instead of 8 ...
>
> I'm not sure if I've missed something but isn't the sizeof a long on Windows 4 bytes even under 64-bit?
yes, it is - and that exactly what I said.

> I know this is different to some Linux environments but (and I don't use MinGW myself as I'm a Visual Studio engineer) doesn't MinGW provide runtime compatibility to the Microsoft Runtime and as such I would have expected longs to be 4 bytes as you are seeing.
I think so ...

Gün.

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