-
Notifications
You must be signed in to change notification settings - Fork 25
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
SV-COMP 24 fixes #176
SV-COMP 24 fixes #176
Conversation
We should merge peterschrammel/cbmc#29 before this so that the submodule doesn't point to my dev branch |
done |
The warnings (errors due to -Werror) are coming from CBMC. The issue has been introduced in gcc 13 and is now fixed on CBMC develop branch in commit 3a6cef0 which can't be cleanly applied to the version that 2LS is currently using. With no current plans to migrate to C++-20, we can ignore the warning for now.
The API is different across the various template generators and the method is always called directly on the given template generator type, i.e. in a non-virtual way. Therefore, there is no need to implement this method as virtual.
accd9ab
to
651828d
Compare
I've noticed that our clang-format config for breaking after bracket wasn't consistent with the code style, hence the linting errors. Hopefully should be passing now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit, otherwise LGTM. Thanks!
@@ -22,6 +22,8 @@ Author: Peter Schrammel | |||
|
|||
#include "2ls_parse_options.h" | |||
|
|||
#define NOT_MATH_FUN(call, fun) call != fun &&call != fun "f" && call != fun "l" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing space, is that enforced by clang-format?
#define NOT_MATH_FUN(call, fun) call != fun &&call != fun "f" && call != fun "l" | |
#define NOT_MATH_FUN(call, fun) call != fun && call != fun "f" && call != fun "l" |
This PR introduces various small fixes required for SV-COMP 2024: