KEMBAR78
Fix debug build with latest VS version by yao-msft · Pull Request #5461 · microsoft/winget-cli · GitHub
Skip to content

Conversation

yao-msft
Copy link
Contributor

@yao-msft yao-msft commented May 17, 2025

The u8"" string literal causes a new compiler warning 5321 with latest update, disable it in the project level.

Also updated fuzzing path, again.

Microsoft Reviewers: Open in CodeFlow

@yao-msft yao-msft requested a review from a team as a code owner May 17, 2025 08:17
@github-actions

This comment was marked as resolved.

@yao-msft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@github-actions

This comment was marked as resolved.

@florelis
Copy link
Member

What is warning 5321? I can't find any docs online mentioning it

@yao-msft
Copy link
Contributor Author

What is warning 5321? I can't find any docs online mentioning it

I searched online and cannot find it too when I encountered it. The closest I found is https://github.com/microsoft/STL/wiki/Changelog/c5aa92bec22b0d09c41282a79437855e9b269ebf

Which basically says: for cross platform reasons, don't use u8"\xffff" like literals since it's not supported in other platforms. But since our project is Windows only, I think we can safely ignore it.

@yao-msft yao-msft merged commit ce6d0d5 into microsoft:master May 19, 2025
9 checks passed
@yao-msft yao-msft deleted the fixlatestdebugbuild branch May 19, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants