gmp-4.1.2 assertion failure

Richard Dawe rich at phekda.gotadsl.co.uk
Sun Feb 15 16:00:15 CET 2004


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 =]

-- 
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]

"You can't evaluate a man by logic alone."
   -- McCoy, "I, Mudd", Star Trek



More information about the gmp-bugs mailing list