If deciding to use a binary interface, I'd recommend using XDR (RFC
1014) throughout.

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
memory.

Others have brought up issues like alignment, etc.

Cheers
-Gerhard
-- 
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
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to