Skip to content

Fix #10431 FP one-definition-rule if struct in mutually exclusive #ifdef branches #7584

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 16 commits into from
Jun 21, 2025

Conversation

chrchr-github
Copy link
Collaborator

No description provided.

@chrchr-github chrchr-github marked this pull request as ready for review June 11, 2025 08:46
@chrchr-github chrchr-github marked this pull request as draft June 13, 2025 09:23
@chrchr-github chrchr-github marked this pull request as draft June 13, 2025 09:23
@chrchr-github
Copy link
Collaborator Author

Needs XML handling for --cppcheck-build-dir.

@chrchr-github
Copy link
Collaborator Author

@firewave How do I opt out of the -j2 injection?

@chrchr-github
Copy link
Collaborator Author

@firewave How do I opt out of the -j2 injection?

Guess I found it.

@firewave
Copy link
Collaborator

@firewave How do I opt out of the -j2 injection?

Guess I found it.

Yup. Just provide an existing -j.

Can you please file a ticket about making this work with the builddir? Thanks.

@chrchr-github
Copy link
Collaborator Author

Can you please file a ticket about making this work with the builddir? Thanks.

I don't think there is anything new here, see the existing tests:
@pytest.mark.xfail(strict=True) # no CTU without builddir

@chrchr-github chrchr-github marked this pull request as ready for review June 13, 2025 23:15
@chrchr-github
Copy link
Collaborator Author

@danmar Any further feedback?

@chrchr-github chrchr-github merged commit 8b66b1c into danmar:main Jun 21, 2025
53 checks passed
@chrchr-github chrchr-github deleted the chr_10431 branch June 21, 2025 08:07
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.

4 participants