Compiler Warning (level 2) C4791

loss of debugging information caused by optimization

Some optimizations, such as code motion, cause references to nested variables to be moved. The information about the level at which the variables are declared may be lost. As a result, all declarations will seem to be at nesting level 1.

This warning can be eliminated by turning off the optimization options for debugging purposes.