This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada policy
On Tue, 31 Aug 2004, Scott Robert Ladd wrote:
> I understood that you were discussing portability (based on your focus on
> int), which is often a matter of making certain that type "X" has a compatible
> range across multiple platforms. Thus the stdint.h definitions.
>
> That is, of course, assuming you have a Standard C compiler across your target
> platforms. :)
Which is perhaps not wise in this regard if you want to rely on features
GCC doesn't yet implement (<stdint.h>; see the last couple of comments in
bug 448 for Geoff Keating's proposal to implement it) of a standard that
has not yet been widely implemented.
Fortunately in this case you can substitute your own <stdint.h> if
necessary using <limits.h> or autoconf if the target library doesn't have
<stdint.h> or the more widely implemented <inttypes.h>.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
http://www.srcf.ucam.org/~jsm28/gcc/#c90status - status of C90 for GCC 3.5
jsm@polyomino.org.uk (personal mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)