* Roy Vegard Ovesen -- Saturday 03 March 2007:
> I believe that MSVC needs the iterator to be declared before the loop:
> int i;
> for (i = 0; ; i++)
No, IIRC there was an issue with two subsequently used variables of
the same name. This didn't work, because MSVC had the scoping wrong:
for (int i = 0; ; i++) {
}
for (int i = 0; ; i++) {
}
But I see this in several places now, and there were no more complaints.
Seems like MS fixed it and those on MS Windows who actually compile
themselves use updated compilers. We can safely tell people now to
fix their setup, and don't have to "fix" perfectly fine fgfs code. :-)
m.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel