Internal Error during Pass2

  • Thread starter Thread starter Adam Clauss
  • Start date Start date
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.
 
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
 
Back
Top