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 -Wconversion #1359

Closed
wants to merge 1 commit into from
Closed

Conversation

NickGerleman
Copy link
Contributor

Summary:
This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default /W3 includes warnings akin to -Wshorten-64-to-32.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777

@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777

fbshipit-source-id: 551aed88bfcd31a9857d5c3302d9cf93955803ad
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 5, 2023
Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 5, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

Summary:
X-link: facebook/react-native#39291


This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 6, 2023
Summary:

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in aee43a5.

facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Sep 6, 2023
Summary:
Pull Request resolved: #39291

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777

fbshipit-source-id: 1ccc07b99d09d1c2d428158149698ffd04025605
facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Sep 6, 2023
Summary:
X-link: facebook/react-native#39291

X-link: facebook/yoga#1359

This enables clang warnings around potentially unsafe conversions, such as those with mismatched signedness, or ones which may lead to truncation.

This should catch issues in local development which create errors for MSVC (e.g. Dash), who's default `/W3` includes warnings akin to `-Wshorten-64-to-32`.

This full set of warnings here is a tad spammy, but probably more useful than not.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D48954777

fbshipit-source-id: 1ccc07b99d09d1c2d428158149698ffd04025605
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.

2 participants