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

Add -Wno-error=cpp on App's default Cmake file #37516

Closed
wants to merge 1 commit into from

Conversation

cortinico
Copy link
Contributor

Summary:
This will fail build failures from apps which are using libraries which imports

#include <react/renderer/graphics/conversions.h>

That's just a warning but our usage of -Wall -Werror is causing this to fail user builds.

More context on this issue here:
reactwg/react-native-releases#54 (comment)

We can revert this -Wno-error once we're on 0.73 as that specific #warning will be entirely
removed from the codebase.

Changelog:
[Internal] [Changed] - Add -Wno-error=cpp on App's default Cmake file

Differential Revision: D46071400

@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: Facebook Partner: Facebook Partner fb-exported labels May 22, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented May 22, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,733,369 -3
android hermes armeabi-v7a 8,044,555 -1
android hermes x86 9,223,475 -3
android hermes x86_64 9,075,459 -2
android jsc arm64-v8a 9,298,175 -2
android jsc armeabi-v7a 8,486,911 -2
android jsc x86 9,359,347 -2
android jsc x86_64 9,615,425 +0

Base commit: e93bc9b
Branch: main

Summary:
Pull Request resolved: facebook#37516

This will fail build failures from apps which are using libraries which imports
```
#include <react/renderer/graphics/conversions.h>
```
That's just a warning but our usage of `-Wall -Werror` is causing this to fail user builds.

More context on this issue here:
reactwg/react-native-releases#54 (comment)

We can revert this `-Wno-error` once we're on 0.73 as that specific #warning will be entirely
removed from the codebase.

Changelog:
[Internal] [Changed] - Add -Wno-error=cpp on App's default Cmake file

Reviewed By: dmytrorykun

Differential Revision: D46071400

fbshipit-source-id: f9a2341b72f755836bc171ec01d5ea7d930d5b42
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c396bc7.

kelset pushed a commit that referenced this pull request May 25, 2023
Summary:
Pull Request resolved: #37516

This will fail build failures from apps which are using libraries which imports
```
#include <react/renderer/graphics/conversions.h>
```
That's just a warning but our usage of `-Wall -Werror` is causing this to fail user builds.

More context on this issue here:
reactwg/react-native-releases#54 (comment)

We can revert this `-Wno-error` once we're on 0.73 as that specific #warning will be entirely
removed from the codebase.

Changelog:
[Internal] [Changed] - Add -Wno-error=cpp on App's default Cmake file

Reviewed By: dmytrorykun

Differential Revision: D46071400

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

Successfully merging this pull request may close these issues.

3 participants