MicrosoftEdge / MicrosoftEdge/WebView2Feedback
signed/unsigned mismatch warning in file generated by wv2winrt
Open
@lflores-ms is already working on this.
Since Feb 6, 2023.
bug
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.