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 -Wextra in C++ builds #37383

Closed
wants to merge 2 commits into from

Conversation

NickGerleman
Copy link
Contributor

Summary: Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Differential Revision: D45772846

@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 11, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented May 11, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,724,107 +4
android hermes armeabi-v7a 8,035,099 +2
android hermes x86 9,212,691 +7
android hermes x86_64 9,065,899 +2
android jsc arm64-v8a 9,288,839 +0
android jsc armeabi-v7a 8,477,270 +5
android jsc x86 9,348,820 +4
android jsc x86_64 9,605,621 -3

Base commit: 6764ada
Branch: main

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request May 11, 2023
Summary:
X-link: facebook/react-native#37383

Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Reviewed By: javache

Differential Revision: D45772846

fbshipit-source-id: e5ebe9932480acb5cd00988f069be0f136d62b04
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request May 11, 2023
Summary:
Pull Request resolved: facebook#1294

X-link: facebook/react-native#37383

Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Reviewed By: javache

Differential Revision: D45772846

fbshipit-source-id: de57ea54b06ab43184b4cebaa6c8d61f7be12d77
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request May 11, 2023
Summary:
Pull Request resolved: facebook#1294

X-link: facebook/react-native#37383

Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Reviewed By: javache

Differential Revision: D45772846

fbshipit-source-id: 631502076aeeec8fbdf3895960d5ab9c6c82aeae
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request May 11, 2023
Summary:
Pull Request resolved: facebook#1294

X-link: facebook/react-native#37383

Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Reviewed By: javache

Differential Revision: D45772846

fbshipit-source-id: bdf151616c4ae8a47947670d1429e0d4ba9a2232
NickGerleman and others added 2 commits May 11, 2023 09:37
Summary: Gets the project clean of `-Wunused-parameter`, part of `-Wextra`. Enforced as part of the build now.

Differential Revision: https://internalfb.com/D45772554

fbshipit-source-id: 6016d3f1d81b8d40ad548d242c4736da5fca1b22
Summary:
X-link: facebook/yoga#1294

Pull Request resolved: facebook#37383

Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Reviewed By: javache

Differential Revision: D45772846

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request May 11, 2023
Summary:
Pull Request resolved: facebook#1294

X-link: facebook/react-native#37383

Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Reviewed By: javache

Differential Revision: D45772846

fbshipit-source-id: 680498f66f2104c29a71366bf30dba8895d9baf4
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 11, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 99674b3.

facebook-github-bot pushed a commit to facebook/yoga that referenced this pull request May 11, 2023
Summary:
Pull Request resolved: #1294

X-link: facebook/react-native#37383

Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Reviewed By: javache

Differential Revision: D45772846

fbshipit-source-id: 29bf71006f63161521fe5869c3a7d8bf7aae9c81
facebook-github-bot pushed a commit to facebook/litho that referenced this pull request May 11, 2023
Summary:
X-link: facebook/yoga#1294

X-link: facebook/react-native#37383

Add -Wextra to the build, and fixup some more instances of -Wunused-parameter that it sufaces which were not automatically fixable.

Reviewed By: javache

Differential Revision: D45772846

fbshipit-source-id: 29bf71006f63161521fe5869c3a7d8bf7aae9c81
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