If deciding to use a binary interface, I'd recommend using XDR (RFC
It's not too far away from what FG currently has (for the more common
platforms at least) but has the advantage of being well-defined.
<stdint.h> is indeed a standard C header but *not* in C++ (though it
might be included in the future under the name <cstdint>). AFAIK even
if <stdint.h> defines the number of bits for the individual types, it
does *not* imply anything about where the individual bits live in
Others have brought up issues like alignment, etc.
Gerhard Wesp o o Tel.: +41 (0) 43 5347636
Bachtobelstrasse 56 | http://www.cosy.sbg.ac.at/~gwesp/
CH-8045 Zuerich \_/ See homepage for email address!
Flightgear-devel mailing list