Re: [exim-dev] compilation failure of 4.70 and 4.71 on HP-UX…

Top Pagina
Delete this message
Reply to this message
Auteur: Johannes Berg
Datum:  
Aan: Phil Pennock
CC: exim-dev, Marc Beyer, Tom Kistner
Onderwerp: Re: [exim-dev] compilation failure of 4.70 and 4.71 on HP-UX-11.31
On Tue, 2009-12-01 at 00:11 -0800, Phil Pennock wrote:

> > "bignum.h", line 58: error #3089: there is no type with the width specified
> >       typedef unsigned int t_dbl __attribute__((mode(TI)));
> >                                                 ^

>
> There's a GCC-ism in src/pdkim/bignum.h which is not wrapped by a check
> for GCC.
>
> Do you know how to get a 128-bit integer on your platform?


Are you sure that's meant to be a 128 bit type? The other side of the
architecture ifdef uses 'unsigned long long' which typically is 64 bits,
no? OTOH, unsigned long will be 64 bits already on 64-bit platforms so
you're probably right about it wanting 128 bits -- it does appear to be
checking for all possible 64-bit platforms there.

However, looking at the code, it looks like you can get a (probably
slower) version of it that uses 16/32 bit types by defining
POLARSSL_HAVE_INT16.

johannes