Address -Wswitch-default warnings#1864
Closed
NSProgrammer wants to merge 1 commit into
Closed
Conversation
|
@NSProgrammer is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
|
@NSProgrammer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86785452. |
Summary: X-link: react/react-native#54500 Improve compatibility with projects that have -Wswitch-default errors/warnings enabled by suppressing those errors/warnings in caffe2 headers. Differential Revision: D86785452
66ab360 to
671e7bc
Compare
|
This pull request has been merged in 8ba025e. |
meta-codesync Bot
pushed a commit
to react/react-native
that referenced
this pull request
Nov 12, 2025
Summary: X-link: react/yoga#1864 Pull Request resolved: #54500 Improve compatibility with projects that have -Wswitch-default errors/warnings enabled by suppressing those errors/warnings in caffe2 headers. Changelog: [iOS] [Fixed] - Improve -Wswitch-default support Differential Revision: D86785452 fbshipit-source-id: 0305ab2a575cc745ada44a3193c690396cb1e3fc
douglowder
pushed a commit
to react-native-tvos/react-native-tvos
that referenced
this pull request
Nov 15, 2025
Summary: X-link: react/yoga#1864 Pull Request resolved: react/react-native#54500 Improve compatibility with projects that have -Wswitch-default errors/warnings enabled by suppressing those errors/warnings in caffe2 headers. Changelog: [iOS] [Fixed] - Improve -Wswitch-default support Differential Revision: D86785452 fbshipit-source-id: 0305ab2a575cc745ada44a3193c690396cb1e3fc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
X-link: react/react-native#54500
Improve compatibility with projects that have -Wswitch-default errors/warnings enabled by suppressing those errors/warnings in caffe2 headers.
Differential Revision: D86785452