-LANG:ansi-for-init-scope=ON
Enables or disables the ANSI scoping rules for for-init
declarations (the scope of the name declared extends to the
end of the for statement). This enables the behavior that is
required by the C++ standard. The default value is OFF.