FIX: C1001 file 'msc1.cpp', line 1188, Using Recursive Namespace (168374)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q168374 SYMPTOMS
Using namespace names recursively causes the compiler to generate the
following error message:
fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1188)
RESOLUTION
Use the "using" directive instead of the "using namespace" directive. Please see the sample in the MORE INFORMATION section of this article for a
workaround.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft Visual C++ .NET.
Modification Type: | Major | Last Reviewed: | 12/8/2003 |
---|
Keywords: | kbBug kbcode kberrmsg kbfix kbNoUpdate KB168374 |
---|
|