-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Problem Description
Starting to see failures in dependabot PRs where C++ code is now failing with errors like:
vnext\Test\HttpServer.cpp#L288
vnext\Test\HttpServer.cpp(288,17): Error C2397: conversion from 'size_t' to 'int' requires a narrowing conversion
I think this is due to the latest VS 2022 changing how it does implicit casting.
Steps To Reproduce
See example failed PR: https://github.com/microsoft/react-native-windows/pull/11991/checks?check_run_id=15756655233
Expected Results
No response
CLI version
npx react-native -v
Environment
npx react-native infoTarget Platform Version
10.0.19041
Target Device(s)
Desktop
Visual Studio Version
Visual Studio 2022
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response