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

Enable RTTI to fix exception pointer issue on React Native #1791

Closed
wants to merge 1 commit into from

Conversation

cortinico
Copy link
Contributor

Summary:
Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Differential Revision: D70386744

Copy link

vercel bot commented Feb 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yoga-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 9:11am

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70386744

cortinico added a commit to cortinico/yoga that referenced this pull request Feb 28, 2025
…1791)

Summary:

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Differential Revision: D70386744
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70386744

cortinico added a commit to cortinico/yoga that referenced this pull request Feb 28, 2025
…1791)

Summary:
Pull Request resolved: facebook#1791

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Differential Revision: D70386744
cortinico added a commit to cortinico/yoga that referenced this pull request Mar 3, 2025
…1791)

Summary:

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Reviewed By: javache, NickGerleman

Differential Revision: D70386744
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70386744

cortinico added a commit to cortinico/yoga that referenced this pull request Mar 3, 2025
…1791)

Summary:
Pull Request resolved: facebook#1791

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Reviewed By: javache, NickGerleman

Differential Revision: D70386744
cortinico added a commit to cortinico/yoga that referenced this pull request Mar 3, 2025
…1791)

Summary:

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Reviewed By: javache, NickGerleman

Differential Revision: D70386744
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70386744

cortinico added a commit to cortinico/yoga that referenced this pull request Mar 3, 2025
…1791)

Summary:
Pull Request resolved: facebook#1791

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Reviewed By: javache, NickGerleman

Differential Revision: D70386744
cortinico added a commit to cortinico/yoga that referenced this pull request Mar 3, 2025
…1791)

Summary:

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Reviewed By: javache, NickGerleman

Differential Revision: D70386744
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70386744

cortinico added a commit to cortinico/yoga that referenced this pull request Mar 3, 2025
…1791)

Summary:
Pull Request resolved: facebook#1791

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Reviewed By: javache, NickGerleman

Differential Revision: D70386744
cortinico added a commit to cortinico/yoga that referenced this pull request Mar 4, 2025
…1791)

Summary:

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Reviewed By: javache, NickGerleman

Differential Revision: D70386744
…1791)

Summary:
Pull Request resolved: facebook#1791

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook/react-native#48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

Reviewed By: javache, NickGerleman

Differential Revision: D70386744
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D70386744

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 1b7d2c8.

facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Mar 4, 2025
Summary:
X-link: facebook/yoga#1791

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: #48027

Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole
React Native build so it probably makes sense to have it enabled for Yoga as well.

Changelog:
[Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native

bypass-github-export-checks

Reviewed By: javache, NickGerleman

Differential Revision: D70386744

fbshipit-source-id: 36e3a1ddb38346d31979d5c1b77d6e9796d6a855
@mrousavy
Copy link

mrousavy commented Mar 4, 2025

amazing find nicola. I'll test this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C++ STL Library on Android does not support exception_ptr
3 participants