C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
C4791
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     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.
                                    -♦-