PRB: C1001 Internal Compiler Error After Installing VC++ SP3

ID: Q236935


The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, version 6.0


SYMPTOMS

After installing Visual Studio 6.0 Service Pack 3, existing projects may give the following error message when they are built:


<..path\filename>(line #) : fatal error C1001: INTERNAL COMPILER ERROR
  (compiler file 'msc1.cpp', line 1794) 
  Please choose the Technical Support command on the Visual C++ 
  Help menu, or open the Technical Support help file for more information. 


CAUSE

The compiler has problems parsing a precompiled header file created before the installation of the Visual Studio 6.0 Service Pack 3. The compiler was updated by the Service Pack and the new version does not correctly handle the PCH files created by the original compiler.


RESOLUTION

Delete all of the temporary files created by the previous compiler version.

To clean out a project's temporary files using the Visual C++ IDE, open the project and select Clean from the Build menu.


MORE INFORMATION

In addition to the C1001 error, there might be other symptoms. The symptoms you will see depend on factors that have not yet been identified. The following are some of the symptoms that have been seen:

  • You may get a message such as the following:
    This program has committed an Illegal Operation.
    Which may be followed by something similar to:


  • CL caused an invalid page fault in module <unknown> at 0000:000000BF
  • You may get a Windows 95 blue screen. This would likely be a recoverable blue screen rather than one that forces a system restart.


  • You may also see Error executing Cl.exe in combination with the other errors.


In all cases, the solution is to not compile or build an application after installing Visual Studio 6.0 Service Packs without first cleaning out all temporary files.

A Rebuild All is safe since it cleans out the temporary files before doing a build.


REFERENCES

For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

Additional query words:

Keywords :
Version : winnt:6.0
Platform : winnt
Issue type : kbprb


Last Reviewed: August 12, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.