-
Notifications
You must be signed in to change notification settings - Fork 274
Build fails when using Clang 15 #7525
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
Comments
Would you mind sharing the warnings so that they can be addressed, or are you already working on a PR to do so? |
Unfortunately there are many warnings. The first 2 to be encountered are:
Addressing them unleashes many others such as:
I don't know if fixing all those errors is enough though. |
So we should just go and fix them.
Good catch, this should be
This seems spurious?! We use that variable 3 lines later.
Any example of this one?
Where is this showing up?
|
Yes, it is used 2 lines ago, but actually that variable is never read.
Both this 2 sets of errors are generated by As for extra errors I cannot say as clearly the compilation stops at this point. |
Ah, thank you. Fixed in #7529. |
Clang 15 complains about GNU-style line markers (`# <number>` instead of `#line <number>`), which we don't need to do anything about. Fixes: diffblue#7525
Clang 15 complains about GNU-style line markers (`# <number>` instead of `#line <number>`), which we don't need to do anything about. Fixes: diffblue#7525
Clang 15 complains about GNU-style line markers (`# <number>` instead of `#line <number>`), which we don't need to do anything about. Fixes: diffblue#7525
CBMC build fails when using Clang 15 (latest version of Clang released in September 2022) on Mac.
Multiple new warning are produced when building with Clang 15. This makes the build to fail as we use
-Werror
.CBMC version: 5.76.1
Operating system: MacOS
Exact command line resulting in the issue: make
What behaviour did you expect: build succeed
What happened instead: build failure
The text was updated successfully, but these errors were encountered: