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

Preprocessor directives to disable Goblint includes #584

Merged
merged 3 commits into from
Feb 1, 2022

Conversation

michael-schwarz
Copy link
Member

Add preprocessor directives to exclude GOBLINT_NO_xxxx to exclude certain definitions from pthread.c or stdlib.c if (merged) programs contain these themselves.

Currently CIL just chooses on of the differing implementations producing warnings, which is not really nice. In the future I would like to re-enabled treating serious CIL warnings as errors, at which point this becomes needed to work with such programs.

Needed e.g. for goblint/bench#16 and might also help with goblint/bench#15

@michael-schwarz michael-schwarz merged commit 5ecb6c5 into master Feb 1, 2022
@michael-schwarz michael-schwarz deleted the preprocessor_exclude_stdlib branch February 1, 2022 14:40
@sim642 sim642 added this to the v2.0.0 milestone Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants