Jump to content

Recommended Posts

Posted

I'm working on an unmanaged C++ project that has extremely long link times (2 and a half minutes), even when a single .cpp file has changed, and incremental linking is turned on.

 

I added /test to the linker options in the VS IDE, and it has started giving me a project build error:

 

"Project : error PRJ0002 : Error result 6 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\link.exe'."

 

I have no idea what error code 6 means, and google doesn't seem to know either.

 

I added /verbose to the linker options as well.* In this case, I can see that when I get this error, the linker is actually doing an incremental link (only the file I changed is considered).

 

My suspicion is that when /test is not specified, the IDE or the linker is seeing this error code 6, and silently relinking.

 

Can anyone shed any light on this?* I've probably spend DAYS waiting for the linker at this point.

 

Thanks!

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...