Skip to content

provide proper barebones compiler defines for selfcheck and daca - #4954

Draft
firewave wants to merge 1 commit into
cppcheck-opensource:mainfrom
firewave:self-def
Draft

firewave wants to merge 1 commit into
cppcheck-opensource:mainfrom
firewave:self-def

Conversation

@firewave

Copy link
Copy Markdown
Collaborator

No description provided.

@firewave

This comment was marked as outdated.

@firewave firewave added the merge-after-next-release Wait with merging this PR until after the next Release label Apr 29, 2023
@firewave

firewave commented Sep 9, 2023

Copy link
Copy Markdown
Collaborator Author

Should be merged after #5420 has landed.

@firewave
firewave force-pushed the self-def branch 2 times, most recently from 34653af to bae9b50 Compare October 26, 2023 10:23
Comment thread lib/config.h
#if defined(__GNUC__) \
|| defined(__clang__) \
|| defined(__CPPCHECK__)
|| defined(__clang__)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

How will it work when I run selfcheck manually on the command line? Before I only had to provide -D__CPPCHECK__ to get reasonable results. It seems tedious to provide all gnu preprocessor flags manually.

I run cppcheck selfcheck manually sometimes..

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

By finally having the selfcheck as a script. This is attempted in #7617 and #8020.

…bian bullseye compiler) for selfcheck and daca / removed unnecessary checks for `__CPPCHECK__` [skip ci]
@sonarqubecloud

Copy link
Copy Markdown

@chrchr-github chrchr-github removed the merge-after-next-release Wait with merging this PR until after the next Release label Sep 20, 2026
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.

3 participants