Skip to content

conversions.h is not building for React Native Windows #54540

@protikbiswas100

Description

@protikbiswas100

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions