CLI/C++ linking with Native C++ lib generates warning LNK4075

G

Guest

I have a CLI/C++ library that links with a Native C++ library. Everything
works and runs fine. However I get the following warning.

warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO'
specification

When I look at the CLI/C++ Lib link command line it has /INCREMENTAL so I am
not sure what it is refering to.

-Zach
 
G

Guest

I have a CLI/C++ library that links with a Native C++ library. Everything
works and runs fine. However I get the following warning.

warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO'
specification

When I look at the CLI/C++ Lib link command line it has /INCREMENTAL so I am
not sure what it is refering to.

/INCREMENTAL comes with a lot of limitations as to when you can use it and
when not. Have you checked that you don't have a conflict there?
Also: how was the native lib built? with or without incremental?
 
G

Guest

Thanks for the quick response.

The native library is static so it has no linking (and therefore no option
for incremental). The weird thing for me is that the warning says I am
getting it due to /INCREMENTAL:NO, but when I look in the settings I have

Enable Incremental Linking: Yes (/INCREMENTAL)
 

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