[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LONG_MAX on Solaris / gcc 2.95.2 (was: [gmp 4] Output line too long.
From: |
Kevin Ryde |
Subject: |
Re: LONG_MAX on Solaris / gcc 2.95.2 (was: [gmp 4] Output line too long.) |
Date: |
05 Dec 2001 07:25:47 +1000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 |
Vincent Lefevre <address@hidden> writes:
>
> (9223372036854775807L * 2UL + 1)
Yes, that sounds like the comment in t-gmpmax.c.
> A fix would be to compile with
>
> -D__LONG_MAX__=2147483647L
Oh well, I think so long as we always store LONG_MAX etc to a variable
of type long, or use a cast, there's no actual problem, just some
warnings. I imagine a newer gcc has this fixed.
Re: [gmp 4] Output line too long., Kevin Ryde, 2001/12/04