-
Notifications
You must be signed in to change notification settings - Fork 304
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
fix anon-struct usage that's a warning/error -Wnon-c-typedef-for-linkage (#137) #328
Open
luciang
wants to merge
1
commit into
facebookincubator:main
Choose a base branch
from
luciang:export-D36043476
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This pull request was exported from Phabricator. Differential Revision: D36043476 |
…age (#76610) Summary: X-link: pytorch/pytorch#76610 Pull Request resolved: facebookincubator#328 X-link: facebookarchive/fbzmq#38 X-link: facebook/CacheLib#137 Fix error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] Reviewed By: philippv Differential Revision: D36043476 fbshipit-source-id: 6e1dc16bf1d205bfcf1a359f0e812a9bfdb0d039
luciang
added a commit
to luciang/CacheLib
that referenced
this pull request
Apr 30, 2022
…age (#76610) Summary: X-link: pytorch/pytorch#76610 X-link: facebookincubator/gloo#328 X-link: facebookarchive/fbzmq#38 Pull Request resolved: facebook#137 Fix error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] Reviewed By: philippv Differential Revision: D36043476 fbshipit-source-id: d26f1bf9952b4371d3d4901ae15a68af8fd4c2a1
luciang
force-pushed
the
export-D36043476
branch
from
April 30, 2022 03:02
a867151
to
7519f32
Compare
This pull request was exported from Phabricator. Differential Revision: D36043476 |
luciang
added a commit
to luciang/fbzmq
that referenced
this pull request
Apr 30, 2022
…age (#76610) Summary: X-link: pytorch/pytorch#76610 X-link: facebookincubator/gloo#328 Pull Request resolved: facebookarchive#38 X-link: facebook/CacheLib#137 Fix error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] Reviewed By: philippv Differential Revision: D36043476 fbshipit-source-id: 953e43613479fb142ea2ccf29f3d0a39402e4122
luciang
added a commit
to luciang/pytorch
that referenced
this pull request
Apr 30, 2022
…age (pytorch#76610) Summary: Pull Request resolved: pytorch#76610 X-link: facebookincubator/gloo#328 X-link: facebookarchive/fbzmq#38 X-link: facebook/CacheLib#137 Fix error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] Test Plan: ```name=before buck-out/v2/gen/fbcode/d839c731f5505c62/datasec/messaging/auth/utils/__MessagingAuthUtils__/headers/datasec/messaging/auth/utils/MessagingAuthLogger.h:83:25: error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] using LogInfo = struct { ``` CI Reviewed By: philippv Differential Revision: D36043476 fbshipit-source-id: 679f3b5efd0d233f6cb472e9cba54747ffd49c4e
malfet
approved these changes
May 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
X-link: facebook/CacheLib#137
Fix
error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage]
Reviewed By: philippv
Differential Revision: D36043476