-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add llvm-16 build to CI, switch from --cppstd to --std + remove default -std=c++03 #1817
Conversation
fe57871
to
d75db5c
Compare
7a6cb8c
to
6c6eedb
Compare
Hi @fbrausse, I'm fine with your proposed solution (disable -Werror for the tests affected). |
OK, great! The 3 tests failing on the clang-16 CI actually already fail with clang-15 in local tests (edit: they work with clang-14):
|
These tests failing on clang-11 and clang-13 (and clang-14, locally) work on clang-15 and beyond:
|
…rk for clang < 15)
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.
LGTM, although I'm still annoyed that we use --std= instead of -std= like the clang cmdline
Me too. It's due to boost, though. @kunjsong01 has looked into it before and found |
It looks there is a way:
https://stackoverflow.com/questions/7233325/boost-program-options-syntax
Em qui., 9 de mai. de 2024 às 12:10, Franz Brauße ***@***.***>
escreveu:
… LGTM, although I'm still annoyed that we use --std= instead of -std= like
the clang cmdline
Me too. It's due to boost, though. @kunjsong01
<https://github.com/kunjsong01> has looked into it before and found
-option not to be supported. :(
—
Reply to this email directly, view it on GitHub
<#1817 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKEJH4YSSNMRFP4LHXCJFDZBOGU5AVCNFSM6AAAAABHLES6NSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSHA2TCOJSGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Mikhail R. Gadelha, Ph.D.
|
Master:
This PR:
|
This PR:
--cppstd N
to--std c++N
or--std gnu++N
in accordance with earlier discussion; closes [option] language standard #1050. Also, there is no default C++ standard selected anymore (closes [C++ verification] Shall we consider C++11 as the default standard in ESBMC? #1740 as per @mikhailramalho's comment there): If --std is not given, Clang's default is used:gnu++14
up until Clang-15,gnu++17
since v16. This could be a breaking change for users, so it must be mentioned in the Release Notes.-Wno-error=
flags to the failing C test cases. The reason for choosing this solution over others mentioned in a comment below is that "regression tests are not wrong, only their status is", but keeping unmodifed "parsing error" ones doesn't test anything besides Clang's defaults. So only the command line is changed.Fixes 3 knownbug and adds duplicated tests for 36 new knownbug tests. These bugs are actually not known, but most of them seem to have to do with std::sort and potentially std::move, so they are related to the first item above. This is the list of all new knownbug: