Skip to content

Get rid of statement expressions from all core code for MSVC windows #6503

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

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

tarun292
Copy link
Contributor

Summary: Statement expressions are supported in GCC but not in MSVC, so re-writing the macros in core that use statement expressions into expressions that use do{}while(0).

Differential Revision: D64953673

Copy link

pytorch-bot bot commented Oct 25, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6503

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 68714ad with merge base 41a57e6 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 25, 2024
@facebook-github-bot
Copy link
Contributor

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

tarun292 added a commit that referenced this pull request Oct 25, 2024
…6503)

Summary:

Statement expressions are supported in GCC but not in MSVC, so re-writing the macros in core that use statement expressions into expressions that use `do{}while(0)`.

Reviewed By: larryliu0820

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

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

facebook-github-bot pushed a commit that referenced this pull request Oct 28, 2024
…6503)

Summary:

Statement expressions are supported in GCC but not in MSVC, so re-writing the macros in core that use statement expressions into expressions that use `do{}while(0)`.

Reviewed By: larryliu0820

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

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

tarun292 added a commit that referenced this pull request Oct 29, 2024
…6503)

Summary:

Statement expressions are supported in GCC but not in MSVC, so re-writing the macros in core that use statement expressions into expressions that use `do{}while(0)`.

Reviewed By: larryliu0820

Differential Revision: D64953673
facebook-github-bot pushed a commit that referenced this pull request Oct 29, 2024
…6503)

Summary:

Statement expressions are supported in GCC but not in MSVC, so re-writing the macros in core that use statement expressions into expressions that use `do{}while(0)`.

Reviewed By: larryliu0820

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

tarun292 added a commit that referenced this pull request Oct 29, 2024
…6503)

Summary:

Statement expressions are supported in GCC but not in MSVC, so re-writing the macros in core that use statement expressions into expressions that use `do{}while(0)`.

Reviewed By: larryliu0820

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

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

facebook-github-bot pushed a commit that referenced this pull request Oct 29, 2024
…6503)

Summary:

Statement expressions are supported in GCC but not in MSVC, so re-writing the macros in core that use statement expressions into expressions that use `do{}while(0)`.

Reviewed By: larryliu0820

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

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

…6503)

Summary:

Statement expressions are supported in GCC but not in MSVC, so re-writing the macros in core that use statement expressions into expressions that use `do{}while(0)`.

Reviewed By: larryliu0820

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

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

@facebook-github-bot facebook-github-bot merged commit f813b6a into main Oct 30, 2024
47 of 48 checks passed
@facebook-github-bot facebook-github-bot deleted the export-D64953673 branch October 30, 2024 20:52
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants