Am Mittwoch 21 September 2005 10:23 schrieb Erik Hofman: > AJ MacLeod wrote: > > Swapping #include <byteswap.h> instead of "tiny_xdr.hpp" I get exactly > > the same result here.. > > That's odd. This *should* indicate that it still would work with our own > definition of these functions ??!? > I'm lost here :-(
The problem lies in XDR_encode_double() and XDR_decode_double(). Making all arguments "const &" did the trick. You can find my updated version here: http://www.o-schroeder.de/fg_server/tinyxdr.tgz please test it. regards, Oliver _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
