Jon S Berndt wrote:
>
> On Wed, 20 Mar 2002 22:55:23 +0100
> Christian Mayer <[EMAIL PROTECTED]> wrote:
> >
> >So there used to be a lot of STL problems where Linux coders wrote non
> >standard compliant STL code that brok on MSVC. (They are not really to
> >blame as they have no chance to test their code on MSVC; and they are
> >definitely not doing it on puropse)
>
> I remember there was also perfectly good code that broke
> under MSVC. Is this one fixed:
>
> {
> for (int i=0;i<5;i++) {
> // do something
> }
>
> for (int i=7;i<13;i++) {
> // do something else
> }
> }
>
> The second for loop was causing problems with MSVC because
> it choked on the for-block-scoped "int i" declaration.
Yes, that's a known PITA of MSVC. But that's a limitation of MSVC, the
STL stuff is actually a feature (bug or feature, the old question...
> While I'm here: does the current JSBSim compile without
> problems under MSVC?
At least a version that's a couple of days old. Dunno about the property
system changes though.
CU,
Christian
--
The idea is to die young as late as possible. -- Ashley Montague
Whoever that is/was; (c) by Douglas Adams would have been better...
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel