-
Notifications
You must be signed in to change notification settings - Fork 906
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
Move to c++17 #9913
Move to c++17 #9913
Conversation
Old Boost is a hurdle. |
Do we know which version of Boost fixed C++17 compatibility? Would it make sense to try C++14? I see some errors (in the fuzzers build) related to the removal of |
I searched for some explicitl statement about C++17 compatibility, but found none. I am trying CentOS7 now, which has boost 1.53 but seems to have patched |
OSS-Fuzz intends to move to 20.04 eventually (google/oss-fuzz#3756) but I wouldn't hold my breath. |
So Unbuntu 16 as used by the fuzzer is a real problem. I was trying to set up a debug env like the fuzzer uses and found out: while the fuzzer build environment uses clang 12, the newest available clang from ubuntu xenial is 8. And if we use that we hit an issue with the c++ libs not being c++17 level. So getting a debug environment up and running is a hassle. Is there a more direct way to get the same env as the fuzzer uses? |
https://github.com/google/oss-fuzz/blob/master/infra/base-images/base-builder/Dockerfile ? |
Ubuntu xenial is a swamp. It's boost 1.57 is using too much deprecated C++11 stuff that has been removed in C++17. Now going for C++14. |
e3bdefd
to
91c61e8
Compare
Back to c++17 now that the fuzzer issue should be fixed |
2cb4c80
to
116e860
Compare
Both CI and buildbot runs are fine. I needed to add one workaround in the bindbackend code. |
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.
Two small things, looks good otherwise!
e813c16
to
dd74238
Compare
Processed review comments and squashed it. |
Short description
Only compile tested with clang on OpenBSD so far.
Creating a PR so the CI and others can easily use this branch to test.
Checklist
I have: