ID: Q115323
1.00 WINDOWS kbtool kbfixlist kbbuglist
The information in this article applies to:
- Microsoft Visual C++ for Windows, version 1.0
Compiling source code that makes extensive use of pointers based on __self in conjunction with any of the /Ol, /Oe, or /Og compiler switches may cause the optimizing compiler to generate the following error message:
fatal error C1001: internal compiler error
(compiler file 'msc2.cpp', line 992)
The problem only occurs when the compiler is invoked from the MS-DOS
command line outside of Windows. The problem does not occur when the
compiler is invoked from the command line inside a Windows MS-DOS
session.
To avoid the problem, do one of the following:
-or-
#pragma optimize ("leg", off)
To turn the optimizations back on, place the following statement after the function:
#pragma optimize ( "", on )
-or-
-or-
Microsoft has confirmed this to be a bug in the products listed above. This problem was corrected in Visual C++ for Windows, version 1.5.
Additional reference words: 1.00 8.00 KBCategory: kbtool kbfixlist kbbuglist KBSubcategory: CLIss
Keywords : kb16bitonly kbCompiler kbbuglist kbfixlist
Version : 1.00
Platform : WINDOWS
Solution Type : kbfix
Last Reviewed: September 22, 1997