[CLN-list] MinGW64 build

Richard B. Kreckel kreckel at ginac.de
Fri Sep 21 08:20:19 CEST 2012


Alexei, Robert,

On 08/15/2012 03:22 AM, Robert Szalai wrote:
> 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.

What is the status of this patch? Alexei, do you see it fit for 
inclusion? (I assume that it doesn't change the binary interface on 
platforms where CLN is already working.)

Also, how am I supposed to apply the the patches? (I'm getting tons of 
failed hunks.)

Cheers
   -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>


More information about the CLN-list mailing list