Philippe Plantier wrote:
This is not a matter of Windows vs Unix, this is a matter of broken
compilers vs standard-compliant ones :-)
To be fair to Microsoft, I will point out that this is actually a matter
of pre-standards compilers to standards-conforming ones. VC++6 was
developed and (I believe) released before the C++98 standard was
released. 'Standards' before this such as ARM disagreed over what the
scoping rules should be.
http://www.wesnoth.org/wiki/CodingStandards#Respect_for_loop_scoping_of_different_platforms
Is this rule still valid? I think I heard Dave tell that we could now
support only VC7. If it's not, it's time to update the wiki.
I still use VC++6. Unfortunately buying VC++7 is kinda expensive (imho).
David