[CLN-list] Fwd: Re: MinGW64 build
Robert Szalai
robicjedi at gmail.com
Sat Feb 24 12:49:46 CET 2018
Here is the previous win64 patch set...
---------- Forwarded message ----------
From: "Robert Szalai" <robicjedi at gmail.com>
Date: Aug 15, 2012 02:22
Subject: Re: [CLN-list] MinGW64 build
To: "CLN discussion list" <cln-list at ginac.de>
Cc:
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 --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/cln-list/attachments/20180224/40734683/attachment.html>
-------------- 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/20180224/40734683/attachment.bin>
More information about the CLN-list
mailing list