FIX: C1001: 'e:\b_bld\c2\P2\main.c', line 374 with /Zi SwitchLast reviewed: September 18, 1997Article ID: Q120965 |
2.00
WINDOWS NT
kbtool kbfixlist kbcode
The information in this article applies to:
SYMPTOMSCompiling an application that uses a local temporary static union, as does the sample code shown in the More Information section below, may cause the following internal compiler error when built with debug information only:
TEST.CPP(9) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'e:\b_bld\c2\P2\main.c', line 374) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more informationTEST.CPP is the sample code file given in the More Information section below.
RESOLUTIONUse either of these two workarounds:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was fixed in Visual C++, 32-bit Edition, version 4.0.
MORE INFORMATION
Sample Code
/* Compile options needed: /Zi */static union { int i; }; static union { int k; };
void local(){ union { int x; }; union { int y; }; static union { int z; };}
|
Additional reference words: 2.00 9.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |