Skip to content

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.

3 participants