autoconf
[Top][All Lists]
Advanced

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

Re: getting a 64 bit integer type


From: Dale E Martin
Subject: Re: getting a 64 bit integer type
Date: Thu, 5 Jul 2001 14:21:36 -0400
User-agent: Mutt/1.2.5i

> This won't necessarily get you a 64-bit integer type.  There are
> machines with 16-bit chars, in which sizeof long long == 4, assuming
> long long is 64-bits wide.  Besides, there's no guarantee that there
> will be *any* 64-bits type.  In C89, the widest data type you could
> count on was long, with at least 32 bits.  In C99, there is long long,
> with at least 64 bits, but it might well be 72 bits if someone ported
> a C99 compiler to one of those old 9-bits-per-byte machines.

Thanks for the info.  Would it make sense for autoconf to have a macro to
define all of the available native types for the language it supports?  Or
is this a fairly unique bit of information to require?

Thanks,
        Dale
-- 
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
address@hidden
http://www.cliftonlabs.com
pgp key available



reply via email to

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