[CLN-list] MinGW64 build

Robert Szalai robicjedi at gmail.com
Wed Aug 15 03:22:33 CEST 2012


Hi Alexei,

I've splitted the path into 10 parts. There is a bigger one that is only 
s/long/intptr_t/  and s/unsigned long/uintptr_t/
the rest is very small.

Hopefully this can now be applied.

> Ditto (the corresponding hunk is not quite optimal, though. {s,u}int32
> can be typedef'ed to {,u}int32_t => no need for ugly #if's).

I was thinking of this, however we need exactly the same underlying type as
(u)intptr_t for the same sized integer to avoid compiler confusion. 
So in some cases (e.g. on i686 Linux) stdint.h might define int32_t as int and intptr_t as long
and in this case the compiler will complain about multiple definition of the same function.

Bests,
Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patches.tar.gz
Type: application/x-gzip
Size: 11876 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/cln-list/attachments/20120815/0741ce20/attachment.gz>


More information about the CLN-list mailing list