Curtis L. Olson wrote:
Erik Hofman wrote:
Andy Ross wrote:
The fact that this is an apple header implies that it ought to work out of the box on OS/X and the various BSDs. The only other platforms we support right now are SGI and Solaris, right? Can anyone check the status of stdint.h on those platforms?
SGI: present and supported.
Ok, I'm going to commit some changes to the net_fdm.hxx, net_ctrls.hxx, and net_gui.hxx files. I bumped up the
embedded version number. I *think* I took care of all the details, but there's always a chance I missed something. Let me know right away if any one has problems.
Hmmm, I see write away that even if I use int8_t or int16_t, they still get padded out to 4 bytes in the structure that is sent across the net (on 32bit Linux.) Does that mean we always want to use int32_t to avoid potential confusion, or is this situation ok?
There are two issues here:
1. Resolving ambiguity in the length of data types across different platforms and architectures such as int, time_t, bool, etc. (Now fixed.)
2. Resolving ambiguity in how different platforms/architectures pack/pad the data structures. (Is this still a problem?)
Regards,
Curt.
--
Curtis Olson http://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/
FlightGear Project http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
_______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
