Muokkaa

Jaa


Linker Tools Warning LNK4075

ignoring "option1" due to "option2" specification

The second option overrides the first.

Mutually exclusive linker options are being specified. Examine your linker options. Where linker options are specified depends on how you are building your project.

  • If you are building in the development environment, look in the linker property pages for your project, and see where both linker options are being specified. See Set compiler and build properties for more information.

  • If you build at the command line, look at the linker options specified there.

  • If you build with build scripts, look through your scripts to see where these linker options are being specified.

When you find where the mutually exclusive linker options are specified, remove one of the linker options.

Some specific examples:

  • If you link a module that was compiled with /ZI, which implies an internal linker option called /EDITANDCONTINUE, and a module that was compiled with /OPT:REF, /OPT:ICF, or /INCREMENTAL:NO, which imply no /EDITANDCONTINUE, you will get LNK4075. See /Z7, /Zi, /ZI (Debug Information Format) for more information.