On Thursday, May 2, 2002, at 07:55 PM, Julian Foad wrote:

> [Is there a more standard way to get a 64-bit integer, like "int64_t" in 
> <stdint.h> of ANSI C'99?  This warning only appears when "-pedantic" is 
> used, and can be inhibited with -Wno-long-long.  This bunch of warnings 
> came out four times.]

My experience has been that types such as int32_t are not as portable as 
they should be.  I can't remember the exact problem, but I had a problem 
with it either not being available on all my platforms (I think one had 
int32 or int_32 and the other had int32_t) or they were not available from 
the same header on all platforms.  My platforms were Solaris II, LynxOS (a 
real-time OS), and NT.  I wish I could remember which was the case.  
Anyway, out solution was to define our own.  Doesn't plib define some 
portable types?

FWIW,

Jonathan Polley


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to