Gerhard Wesp wrote:
> 1. GNU C++ structure layout may _differ_ between different compiler
> _minor_ versions.  E.g., one sizeof() was 504 bytes on Linux with
> g++ 3.3.3 and 520 bytes on Cygwin with g++ 3.3.1.  Both on x86.

Are you sure?  Starting with the 3.2.x releases, g++ is supposed to
have standardized on a single C++ ABI.  Are you sure the two builds
didn't have differing flags?  The Cygwin headers, I know, have a
bunch of win32-compatibility hacks that tend to muck with standards
compliance.

That said, basing a protocol on the idea of spitting raw structures
onto the network is kind of a silly idea, for exactly the reasons you
posit.

Andy

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

Reply via email to