BUG: C1001: Internal Compiler Error: msc3.cpp, Line 429Last reviewed: July 22, 1997Article ID: Q115853 |
1.50
WINDOWS
kbtool kbbuglist
The information in this article applies to:
SYMPTOMSCompiling the sample code shown below with the /G3 option causes the compiler to generate the following error message:
fatal error C1001: internal compiler error (compiler file 'msc3.cpp', line 429) RESOLUTIONTo avoid the C1001 error, do one of the following:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed above. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. This is not a problem in the 32-bit compilers.
MORE INFORMATIONThe following sample code can be used to demonstrate the problem.
Sample Code
/* Compile options needed: /G3 */ #include <stdlib.h> #define TRUE 1 #define FALSE 0long double var_1 = 1.0; long double var_2 = 2.0;
void main(){ long double var_1_is_less; long double tmp; // This statement causes the C1001 error var_1_is_less = (__min( var_1 , var_2 ) == var_1); // Restructuring the code to something like the following // avoids the problem /* if(__min( var_1 , var_2 ) == var_1) var_1_is_less = TRUE; else var_1_is_less = FALSE; */}
|
Additional reference words: 1.50 8.00c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |