react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

conversions.h is not building for React Native Windows

Open protikbiswas100 opened this issue 1 month ago • 0 comments

Problem Description

Description

conversions.h has a toString() method, the method contains only switch cases but with no default statement. https://github.com/facebook/react-native/blame/main/packages/react-native/ReactCommon/react/renderer/components/image/conversions.h#L165

Getting a compiler error while building react native windows. It complaints about what is none of the cases match.

Steps to reproduce

follow https://github.com/facebook/react-native/blame/main/packages/react-native/ReactCommon/react/renderer/components/image/conversions.h#L165

React Native Version

0.82.0-nightly-20250819-25104de5c

Affected Platforms

Build - Windows

Output of npx @react-native-community/cli info

NA

Stacktrace or Logs

NA

MANDATORY Reproducer

github.com/protikbiswas100

Screenshots and Videos

No response

Link to the integration PR where the error originated

https://github.com/microsoft/react-native-windows/pull/15361/

Link to react-native commit

https://github.com/facebook/react-native/compare/5936f29d6...25104de5c

Forked files

vnext/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/image/conversions.h

Upstream PR in react-native

https://github.com/facebook/react-native/compare/5936f29d6...25104de5c

Build Configuration

None

protikbiswas100 avatar Nov 17 '25 04:11 protikbiswas100