Skip to content

Commit

Permalink
Fix broken TestHostApp build (microsoft#12676)
Browse files Browse the repository at this point in the history
This regressed recently in cfaa315.
Initially I tried to migrate TestHostApp to C++/WinRT, but due to the
unbearable compile times I've reverted it back to C++/CX (>20x difference).
Unfortunately I then forgot to fix the underlying issue before submitting a PR.

## PR Checklist
* [x] Closes microsoft#12673
* [x] I work here
* [x] Tests added/passed
  • Loading branch information
lhecker authored Mar 14, 2022
1 parent 5964060 commit f0c2ef3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@

<ItemDefinitionGroup>
<ClCompile>
<!-- Disable two-phase name lookup for C++/CLI & C++/CX code. -->
<!-- Disable C++20 and two-phase name lookup for C++/CLI & C++/CX code. -->
<LanguageStandard>stdcpp17</LanguageStandard>
<AdditionalOptions>%(AdditionalOptions) /Zc:twoPhase-</AdditionalOptions>
<DisableSpecificWarnings>4453;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(IntermediateOutputPath)</AdditionalIncludeDirectories>
Expand Down

0 comments on commit f0c2ef3

Please sign in to comment.