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

obj: fix a clang warning on our public headers #3501

Merged
merged 1 commit into from
Jan 9, 2019

Conversation

kilobyte
Copy link
Contributor

@kilobyte kilobyte commented Jan 3, 2019

This can be fatal with -Werror or in otherwise warning-averse projects.

Ref: pmem/issues#994


This change is Reviewable

@kilobyte
Copy link
Contributor Author

kilobyte commented Jan 3, 2019

@llugin: care to check if this works for you?

@llugin
Copy link

llugin commented Jan 4, 2019

It works.

Clang hates them when in C++ mode.
@codecov-io
Copy link

Codecov Report

Merging #3501 into stable-1.5 will increase coverage by 0.01%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           stable-1.5    #3501      +/-   ##
==============================================
+ Coverage       74.25%   74.27%   +0.01%     
==============================================
  Files             155      155              
  Lines           26385    26384       -1     
==============================================
+ Hits            19592    19596       +4     
+ Misses           6793     6788       -5

@pmem-bot
Copy link
Contributor

pmem-bot commented Jan 7, 2019

@janekmi and @Greg091 please review this pull request

Copy link

@Greg091 Greg091 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 r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@janekmi janekmi 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 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@janekmi janekmi merged commit 78519f3 into pmem:stable-1.5 Jan 9, 2019
@kilobyte kilobyte deleted the clang-anon-union branch January 29, 2019 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants