Skip to content

Commit

Permalink
解决Bug 31,修复启用 /guard:ehcont 时编译报告2047链接错误问题。(#31
Browse files Browse the repository at this point in the history
  • Loading branch information
mingkuang-Chuyu committed Jul 17, 2022
1 parent 584822f commit dd13f00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<!--避免使用tlsGuards,因为VC-LTL能确保不会使用那些动态的。此外避免高版本依赖-->
<AdditionalOptions>/Zc:tlsGuards- %(AdditionalOptions)</AdditionalOptions>
<SupportJustMyCode>false</SupportJustMyCode>
<GuardEHContMetadata>true</GuardEHContMetadata>
</ClCompile>
</ItemDefinitionGroup>
<!--从兼容性考虑,继续向上搜索 Directory.Build.props-->
Expand Down

0 comments on commit dd13f00

Please sign in to comment.