fatal error C1001: An internal error has occurred in the compiler. (compiler file 'msc1.cpp', line 1325)

bhadresh 1 Reputation point
2020-08-14T17:34:42.293+00:00

i am using visual studio 2013 in windows 10. while compiling code i am getting fatal error.

fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1325)

Kindly look into this and do let me know the required steps to resolve the issue asap.

Universal Windows Platform (UWP)
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,760 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Darran Rowe 1,041 Reputation points
    2020-08-15T19:26:40.24+00:00

    The thing that you must remember about this error is that it occurs in response to code that you write. While it is true that this is caused by a bug in the compiler, knowing how to trigger the bug is very important.
    Anyway, as Barry Schwarz mentioned already, using Visual Studio 2019 16.7 would be the best option here. It has several years of bug fixes and is still being actively maintained. Visual Studio 2013 will not have any more bug fixes, so the most we could do is help you find an alternative way to do what you want without triggering C1001.
    If Visual Studio 2019 16.7 still results in the C1001, then you can report it as a bug to Microsoft through Visual Studio and it will be fixed in a later version of 2019. But to make it absolutely clear, don't expect any real fixes in 2013.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.