Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.48 KB

linker-tools-warning-lnk4075.md

File metadata and controls

27 lines (18 loc) · 1.48 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Linker Tools Warning LNK4075
Linker Tools Warning LNK4075
11/04/2016
LNK4075
LNK4075
f39ad3f9-c263-4cf0-9d70-259fc56ac96d

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.