Microsoft KB Archive/216718

= FIX: You receive a "Fatal error C1001" error message when you compile by using the /ZI and /Yc command-line switches without a file name in Visual C++ 6.0 =

Article ID: 216718

Article Last Modified on 10/3/2005

-

APPLIES TO


 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Standard Edition

-



This article was previously published under Q216718



SYMPTOMS
When you compile in Microsoft Visual C++ by using the /ZI and /Yc command-line switches without a file name, you may receive the following error message:

fatal error C1001: INTERNAL COMPILER ERROR

(compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)



RESOLUTION
To resolve this problem, obtain the latest service pack for Visual Studio 6.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

194022 Visual Studio 6.0 service packs, what, where, why



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. This bug was corrected in Visual Studio 6.0 Service Pack 3.

For more information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

194022 Visual Studio 6.0 service packs, what, where, why

194295 How to tell that a Visual Studio service pack is installed



WORKAROUND
To work around this problem, use one of the following methods:  Compile by using the /Zi command-line switch instead of the /ZI command-line switch. Supply a file name by using the /Yc command-line switch. For example, use the following syntax:

/Yc" "



Keywords: kbbug kbfix kbcpponly kbcompiler kbvs600sp3fix KB216718

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.