Open axmat opened 1 year ago
It might be because clang expect the flag "-std=c++2a" instead of "-std=c++20".
Yes, as the latest release is still Clang9.
Repo is at Clang13, which will be released as cppyy 3.0.0. Then C++20 support will be much better.
cppyy 3.0.0 has been released. To test C++20, set the envar EXTRA_CLING_ARGS
to something like -std=c++2a -O2 -march=native
.
cppyy 3.0.0 has been released. To test C++20, set the envar
EXTRA_CLING_ARGS
to something like-std=c++2a -O2 -march=native
.
Thank you for the update. I've tested it and it works fine with those flags.
The library requires a more recent version of Clang (It compiles with Clang-16).
This is Clang13. I'm dependent on upstream (Cling) to update first; they claim that going forward, updates can come faster as a lot of changes in Clang needed for Cling have found their way into Clang proper.
16.0.0, however, has only been out for 3 days ...
This is Clang13. I'm dependent on upstream (Cling) to update first; they claim that going forward, updates can come faster as a lot of changes in Clang needed for Cling have found their way into Clang proper.
16.0.0, however, has only been out for 3 days ...
I've been installing clang from the git repository so I don't keep track of the releases. It seems that the only option I have is to try to downgrade to Clang-13.
Thanks for cppyy, it's an incredibly useful library.
Hello,
cppyy works fine with C++17. However, when I try to generate the bindings for a C++20 library I get the following error:
It might be because clang expect the flag "-std=c++2a" instead of "-std=c++20".
Here's my CMake file:
Thanks