FIX: C1001 Internal Compiler Error in MAIN.C File Line 374 (128213)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 2.2
This article was previously published under Q128213 SYMPTOMS
Defining a static member function together with a user-defined class
destructor in a class that is used only as a return type of a member
function in another class may cause the Microsoft C++ compiler version 9.0
to generate the following compiler error:
fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'd:\b_bld\c2.m2\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
information
The sample code in the More Information section below demonstrates this
problem.
RESOLUTION
To work around the problem, use one of the following suggestions:
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug was corrected in Microsoft
Visual C++, 32-bit Edition, version 4.0.
Modification Type: | Major | Last Reviewed: | 10/2/2003 |
---|
Keywords: | kbbug kbCompiler kbCPPonly kbfix KB128213 |
---|
|