Internal error in compiler

Hello,

I have this error:
fatal error C1001: An internal error has occurred in the compiler.

I compiled it few times and still remains. I don't know how I should remove it.
Can someone please help me ?

Thanks
Check if you dont have any infinite loop in your program
I don't think you'll get any help if you don't post the code you're trying to compile.

@Edward01 Why would an infinite loop cause a compiler internal error?
@tipaye that was one of the posdible reasons I found on another forum
@Edward01
Well it shouldn't be. Although people mistakenly write them sometimes, infinite loops are in themselves useful and there's very little you can get done without them. That's how your OS works, Hey, that's how the human heart works :-)

Even an infinite recursion should only crash at run-time, although a clever compiler would warn about it.

If a compiler does crash because of an infinite loop, I would point and laugh at it.

It could be @OP has written some code that's made the compiler throw a wobbly - that's a compiler bug and should be fixed by the compiler vendor. No doubt re-writing the code or changing compilation options will avoid the problem.

Unfortunately, C1001 (in Visual Studio) is not just one thing so @OP can't be helped without more information.
Topic archived. No new replies allowed.