Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix windows build of RectangleEdges #35516

Closed
wants to merge 1 commit into from

Conversation

TatianaKapos
Copy link
Contributor

@TatianaKapos TatianaKapos commented Dec 1, 2022

Summary

PR: Avoid emitting mountitems for default values used a constexpr in a template, which windows is unable to compile since type at this point is incomplete. Once removed, windows is able to build again. Let me know if there's a better way to fix this!

See 10072 for windows error messages

Changelog

[General] [Fixed] - Remove constexpr from RectangleEdges.h

Test Plan

Windows has forked this file and had the change for ~5 month, all tests pass on Windows side

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Microsoft Partner: Microsoft Partner labels Dec 1, 2022
@react-native-bot react-native-bot added Bug Platform: Windows Building on Windows. labels Dec 1, 2022
@facebook-github-bot
Copy link
Contributor

@rshest has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,097,749 +0
android hermes armeabi-v7a 6,466,802 +0
android hermes x86 7,515,869 +0
android hermes x86_64 7,374,086 +0
android jsc arm64-v8a 8,962,922 +0
android jsc armeabi-v7a 7,694,566 +0
android jsc x86 9,025,525 +0
android jsc x86_64 9,502,867 +0

Base commit: de7a323
Branch: main

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: de7a323
Branch: main

@pull-bot
Copy link

pull-bot commented Dec 1, 2022

PR build artifact for 23c3640 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@github-actions
Copy link

github-actions bot commented Dec 1, 2022

This pull request was successfully merged by @TatianaKapos in 879d303.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions bot added the Merged This PR has been merged. label Dec 1, 2022
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
[PR: Avoid emitting mountitems for default values](facebook@56e9aa3) used a constexpr in a template, which windows is unable to compile since type at this point is incomplete. Once removed, windows is able to build again. Let me know if there's a better way to fix this!

See [10072](microsoft/react-native-windows#10072) for windows error messages

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[General] [Fixed] - Remove constexpr from RectangleEdges.h

Pull Request resolved: facebook#35516

Test Plan: Windows has forked this file and had the change for ~5 month, all tests pass on Windows side

Reviewed By: javache

Differential Revision: D41639514

Pulled By: rshest

fbshipit-source-id: fbe595f71a7ab0accb7a76edf58ffb6aeef1ae96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Microsoft Partner: Microsoft Partner Platform: Windows Building on Windows.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants