cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: examples compiler warnings

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Thu, 22 Sep 2011 15:58:47 +0100

Hi Guenter,

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

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.

Steve

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