gmp-4.1.2 assertion failure

Jason jasonmoxham at btclick.com
Mon Feb 16 00:03:02 CET 2004


On Sunday 15 Feb 2004 4:00 pm, Richard Dawe wrote:
> Hello.
>
> Jason wrote:
> [snip]
>
> > patch attached , although I not sure that my definintion of SIZE_T_MAX is
> > safe ?
>
> [snip]
>
> > +#define SIZE_T_MAX	(((size_t)(-1))>>1)
>
> [snip]
>
> How about using SIZE_MAX from <stdint.h>, then? I guess there are some
> appropriate autoconf checks for that macro and header.
>
> Bye, Rich =]

I guess there is something I can use , but I couldn't find any examples in the 
gmp sources , remember gmp has to support a lot of very old machines(junk) 
and brain damaged compilers so what I would normally do , I cant.



More information about the gmp-bugs mailing list