Microsoft KB Archive/115855

{|
 * width="100%"|

FIX: C1001: Internal Compiler Error Generated on MS-DOS Only

 * }

Q115855

1.00 WINDOWS kbtool kbfixlist kbbuglist -- The information in this article applies to: - The Microsoft C/C++ Compiler (CL.EXE), included with: - Microsoft Visual C++ for Windows, version 1.0 -- SYMPTOMS ======== Compiling code using the /Ol, /Oe, /Og, or /Ox compiler options may generate the following internal compiler error, but only when the compiler is run from MS-DOS, not from an MS-DOS prompt in Windows: fatal error C1001: internal compiler error (compiler file 'msc2.cpp', line 992) RESOLUTION ========== To work around this problem, you can do one of three things: 1. Disable optimization by removing the /Ox, /Ol, /Oe, or /Og options. -or- 2. Use the fast compiler option /f. -or- 3. Upgrade to Visual C++ for Windows version 1.5. The C/C++ compiler version 8.0c does not display this behavior. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products listed above. This problem was corrected in Visual C++ version 1.5. Additional reference words: 1.00 8.00 KBCategory: kbtool kbfixlist kbbuglist KBSubcategory: CLIss

Keywords : kb16bitonly kbCompiler

Issue type :

Technology : kbVCsearch kbAudDeveloper kbCVCComp