Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

C1001 Internal compiler error occurs when you build a Visual C++ project in Visual Studio 2013 Update 5


View products that this article applies to.

Symptoms

When you build a Visual C++ project in Visual Studio 2013 Update 5 that uses certain types from a .NET assembly, you may receive the following error message:
fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\esu.c', line 6378)

↑ Back to the top


Resolution

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, install this hotfix from here.

↑ Back to the top


Workaround

To work around this issue, don't use the last type referenced in the error message. Using that type in other .NET languages, such as C#, isn't affected by this issue. Therefore, a shim assembly can be created to provide indirect access to the affected type.

↑ Back to the top


References

For more information about Visual Studio 2013 Update 5, see Description of Visual Studio 2013 Update 5.

↑ Back to the top


Keywords: kbsurveynew, kbtshoot, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 3185410
Revision : 1
Created on : 1/7/2017
Published on : 10/17/2016
Exists online : False
Views : 376