Skip to content

Comments

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

Closed
cortinico wants to merge 1 commit intofacebook:mainfrom
cortinico:export-D70386744
Closed

Enable RTTI to fix exception pointer issue on React Native#1791
cortinico wants to merge 1 commit intofacebook:mainfrom
cortinico:export-D70386744

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

@vercel
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!

ghost pushed a commit to discord/react-native that referenced this pull request Sep 26, 2025
Summary:
X-link: facebook/yoga#1791

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook#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
ghost pushed a commit to discord/react-native that referenced this pull request Sep 26, 2025
Summary:
X-link: facebook/yoga#1791

Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS.
Fixes: facebook#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
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