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

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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?
 
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)
 
Back
Top