> I use Borland C++, and the g++ compiler in the cygwin distribution. I
> also compile under a flavor of Linux, just to see what happens. I've
> been worried that try/catch/throw is something that is not supported
> similarly on different compilers.
>
> I've got other priorities right now, but please make use of our bug
> reporting mechanism at www.jsbsim.org. It's really the only way to be
> sure we don't lose track of stuff.
Well, I want to make sure I know there's a bug before I report it :-)
Either I need to remove the explicit conversion to static objects from my
patch (most likely unless dictated by a specific compiler not adhering to
the standard clause that Melchior has cited from the BS book), or I don't.
For the JSBSim code it means that the only bug you might have, if your
compiler is sane, is that MatrixException doesn't have copy ctor/default
ctor/assignment (see the cloned x2 case in my snippet example run),
thus its string member is copied bit-by-bit.
Please run the snippet from the other mail on your compilers (esp.
the borland one) and tell if it works.
I'll file a bug on www.jsbsim.org as soon as I know what the problems are.
Vassilii
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d