I have a project that is linking to an external .lib (libprotobuf.lib). When I compile in release, there are no warnings. When I compile in debug though, I receive this warning:
warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
File: \libprotobuf.lib(message_lite.obj)
I have been researching the problem, starting with this question. I have been tweaking my project's options, and I have (in the debug configuration):
/Zi - So edit and continue should not be on.
/INCREMENTAL - So incremental should be on.
Any ideas why I'm still getting this warning? My best guess is that the external lib was built with /ZI on... but I don't understand why it would be a problem if I have /INCREMENTAL on. Thanks in advance for your help!
UPDATE: I was able to rebuild the external library with the /Zi option instead of the /ZI... which solved my problem, but I would greatly appreciate it if someone could tell me why. Why in my original project, with /INCREMENTAL on, did the warning still appear as given? Thanks!