[Insight-users] Question regarding VS 6.0 and compiler options
Michael Schmidt
michael at familie-schmidt.com
Fri Mar 28 14:28:17 EDT 2008
Hi,
in my current project I have to work with VisualStudio 6.0 and I have
a question regarding the scope of initializers in the for-loop. Users
of VS6 are going to be familiar with the compilers non-ansi-conform
behaviour regarding the scope of variables defined in a for-statement.
Now, when I include itk-headers this behaviour is changed and the
scope of such variables ends with the for-loop. Can somebody tell me,
which is the compiler-setting to enforce this behaviour when I don't
include itk-headers? Obviously I don't want to mix these to settings
in my projects and including an itk-header everywhere would work, but
is isn't really a nice way of getting rid of this problem ;)
Any hint would be appreciated,
Michael
More information about the Insight-users
mailing list