Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Suppress invalid-offsetof warning for clang #1821

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Suppress invalid-offsetof warning for clang #1821

merged 1 commit into from
Jul 24, 2024

Conversation

DKLoehr
Copy link
Contributor

@DKLoehr DKLoehr commented Jul 23, 2024

For several compilers, benchmark.cc suppresses a warning regarding its use of offsetof. This merely extends that suppression to cover clang as well.

I've noticed several other issues/PRs mentioning this or an adjacent problem (e.g. #552, #1175), hopefully this resolves at least some of them.

For several compilers, `benchmark.cc` suppresses a warning regarding its use of `offsetof`. This merely extends that suppression to cover clang as well.
@dmah42 dmah42 merged commit fa236ed into google:main Jul 24, 2024
80 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants