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

[common] Provide drake_export and opt-in to Werror=attributes #18677

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented Jan 27, 2023

As we start to be more careful with linker visibility, it's becoming ever more likely that -Wattributes warnings will leak to the console. Promote them to errors so that we see them and fix the problem.

Towards #17231.


This change is Reviewable

@jwnimmer-tri jwnimmer-tri added release notes: none This pull request should not be mentioned in the release notes priority: medium labels Jan 27, 2023
@jwnimmer-tri
Copy link
Collaborator Author

@drake-jenkins-bot mac-x86-monterey-clang-bazel-experimental-release please

@jwnimmer-tri
Copy link
Collaborator Author

+@rpoyner-tri for feature review, please.
+@ggould-tri for platform review per schedule (Monday), please.

Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: 1 unresolved discussion, LGTM missing from assignee ggould-tri(platform) (waiting on @ggould-tri and @jwnimmer-tri)


common/drake_export.h line 31 at r1 (raw file):

</pre>

To un-export juse one function:

typo

Suggestion:

just

As we start to be more careful with linker visibility, it's becoming
ever more likely that -Wattributes warnings will leak to the console.
Promote them to errors so that we see them and fix the problem.
Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: LGTM missing from assignee ggould-tri(platform) (waiting on @ggould-tri)

Copy link
Contributor

@ggould-tri ggould-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 4 of 5 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignees rpoyner-tri(platform),ggould-tri(platform) (waiting on @jwnimmer-tri)

@jwnimmer-tri jwnimmer-tri merged commit 9fb09b4 into RobotLocomotion:master Jan 30, 2023
@jwnimmer-tri jwnimmer-tri deleted the wattributes branch January 30, 2023 16:32
liangfok added a commit to liangfok/drake that referenced this pull request Jan 31, 2023
xuchenhan-tri pushed a commit to xuchenhan-tri/drake that referenced this pull request Feb 3, 2023
…ocomotion#18677)

As we start to be more careful with linker visibility, it's becoming
ever more likely that -Wattributes warnings will leak to the console.
Promote them to errors so that we see them and fix the problem.
marcoag pushed a commit to marcoag/drake that referenced this pull request Feb 6, 2023
…ocomotion#18677)

As we start to be more careful with linker visibility, it's becoming
ever more likely that -Wattributes warnings will leak to the console.
Promote them to errors so that we see them and fix the problem.
xuchenhan-tri pushed a commit to xuchenhan-tri/drake that referenced this pull request Feb 6, 2023
…ocomotion#18677)

As we start to be more careful with linker visibility, it's becoming
ever more likely that -Wattributes warnings will leak to the console.
Promote them to errors so that we see them and fix the problem.
marcoag pushed a commit to marcoag/drake that referenced this pull request Mar 8, 2023
…ocomotion#18677)

As we start to be more careful with linker visibility, it's becoming
ever more likely that -Wattributes warnings will leak to the console.
Promote them to errors so that we see them and fix the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium release notes: none This pull request should not be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants