autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf problem with large files on HP-UX?


From: Alexandre Oliva
Subject: Re: autoconf problem with large files on HP-UX?
Date: 07 Feb 2001 01:29:23 -0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

On Feb  6, 2001, Paul Eggert <address@hidden> wrote:

> Unlike the other patches, this patch doesn't need ULL, so it doesn't
> need to worry about whether the compiler supports ULL.

> It also makes some additional arithmetic checks, just in case the
> compiler has some other plausible bugs in this area.

What if int is 16-bits wide?  It is plausible (yet unlikely) to have
some compiler with 16-bits ints, 32-bits longs and 64-bits long longs
and off_ts.  In this case, the arithmetic would be wrong.  How about
casting the 32-bit integers to long, since long is required to be at
least 32-bits wide?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

[Prev in Thread] Current Thread [Next in Thread]