Internal Error during Pass2

A

Adam Clauss

On a project I have recently begun to work on (MFC app), I have been
repeatedly getting the following error. But it does not happen everytime
(sort of).
fatal error LNK1000: Internal error during Pass2

If I make some change to the code, it will happen CONSISTENTLY the first
time I try to build it. Guarranteed. Then, if I simply hit build again, it
will start on the linking step, and complete without error, again
guarranteed.

Any idea what might cause this? Its annoying having to hit build twice each
time I try to compile changes in. Note that the exe (once built
successfully) seems to work just fine.
 
D

David Lowndes

On a project I have recently begun to work on (MFC app), I have been
repeatedly getting the following error. But it does not happen everytime
(sort of).
fatal error LNK1000: Internal error during Pass2

If I make some change to the code, it will happen CONSISTENTLY the first
time I try to build it. Guarranteed. Then, if I simply hit build again, it
will start on the linking step, and complete without error, again
guarranteed.

Adam,

I have experienced this problem on a handful of occasions but they
were never reproducible - a full rebuild or just an immediate rebuild
usually resolved the situation.

If you have some means of reproducing it, I can only suggest that you
ensure you can reproduce it on a clean machine and then contact MS
product support. Hopefully they'll be able to use your repro and
either come up with a work around for you, or feed it back to the
developers to fix.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top