Open
Description
Description
Files generated by wv2winrt tool throws warning when compiled in x86 configuration
Version
SDK: 1.0.1264.42
Framework: UWP
OS: Win11
Repro Steps
- I have a Adapter project similar to WinRTAdapter project in the sample
- The Adapter project I am using depends on
Windows.Foundation.Collections
. Thus it creates aWindows.Foundation.Collections.g.cpp
.
Actual Behavior
- When compiling in x64 configuration, it compiles fine.
- But when compiling in x86 configuration, I get a compiler warning C4018
Expected Behavior
- Generated code compiles without any warnings.
Additional context
Exact warning that I get - warning C4018: '<': signed/unsigned mismatch (compiling source file Generated Files\wv2winrt\Windows.Foundation.Collections.g.cpp)