Re: internal compiler error?

[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by John Kugelman on April 19, 2001 at 14:58:44:

In Reply to: internal complier error? posted by Z on April 19, 2001 at 13:31:52:

Z wrote:

I'm getting an "INTERNAL COMPILER ERROR", what could be the cause of this?

An internal compiler error is usually just a really horrendous syntax error or convulated statement. It happens when the compiler finds an error but is unable to "recover" and continue parsing. Look at the line it reports and see if you can fix it.

I've had a lot of trouble sometimes with complicated template declarations; sometimes you can make things work by hiding them behind typedefs; sometimes not. I think there are a number of problems with the implementation for templates in MSVC++; luckily (or not), "INTERNAL COMPILER ERROR"s are at least deterministic and reproducible.

An internal compiler error may also mean that something else has gone wrong, like a killer bug or out of memory, but every time I've seen it it's been caused by bad syntax.

Follow Ups:

Post a Followup




Optional Link URL:
Link Title:
Optional Image URL:

[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]