Skip to content

Commit

Permalink
Ignore VS2017 linker warning LNK4221
Browse files Browse the repository at this point in the history
  • Loading branch information
Cellule committed May 27, 2017
1 parent f105d21 commit c36f7bf
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Build/Common.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<!--Disable midl timestamps wherever possible, razzle build already have this-->
<AdditionalOptions Condition="'$(BuildingWithBuildExe)'!='true'">%(AdditionalOptions) /no_stamp</AdditionalOptions>

<SuppressStartupBanner>true</SuppressStartupBanner>

<!-- Other defaults -->
Expand All @@ -25,7 +25,7 @@

<!-- ======== makefiledef ======== -->
<AdditionalOptions>%(AdditionalOptions) -sal</AdditionalOptions>

<!-- ======== sources.inc ======== -->
<!-- generates SAL annotations for our interface -->
<AdditionalOptions>%(AdditionalOptions) -sal_local</AdditionalOptions>
Expand All @@ -40,10 +40,10 @@

<!-- Add any preprocessor definitions passed using msbuild environment -->
<PreprocessorDefinitions Condition="'$(AdditionalPreprocessorDefinitions)'!=''">%(PreprocessorDefinitions);$(AdditionalPreprocessorDefinitions)</PreprocessorDefinitions>

<!-- MIDL generate code uses this define -->
<PreprocessorDefinitions Condition="'$(Platform)'=='ARM'">%(PreprocessorDefinitions);_ARM_</PreprocessorDefinitions>

<!-- /W4 -->
<WarningLevel>Level4</WarningLevel>
<!-- /WX -->
Expand Down Expand Up @@ -102,7 +102,13 @@

<!-- Always set the checksum -->
<AdditionalOptions>%(AdditionalOptions) /release</AdditionalOptions>
<!-- Ignore Linker warning: This object file does not define any previously undefined public symbols -->
<AdditionalOptions>%(AdditionalOptions) /ignore:4221</AdditionalOptions>
</Link>
<Lib>
<!-- Ignore Linker warning: This object file does not define any previously undefined public symbols -->
<AdditionalOptions>%(AdditionalOptions) /ignore:4221</AdditionalOptions>
</Lib>
</ItemDefinitionGroup>
<!-- chk build flags -->
<ItemDefinitionGroup Condition="'$(OptimizedBuild)'!='true'">
Expand Down

0 comments on commit c36f7bf

Please sign in to comment.