[pypy-dev] Unable to compile cppyy with clang 4.0 or GCC 5.0
Matti Picus
matti.picus at gmail.com
Wed Jun 7 12:02:34 EDT 2017
On 07/06/17 18:44, wlavrijsen at lbl.gov wrote:
> Omer,
>
> ...
> Then build
> the cling wrapper from the PyPy repository (is a single .cxx) following
> its make fragment. That should be enough: with the .so's in place, PyPy's
> cppyy should work out-of-the-box.
>
> Best regards,
> Wim
FWIW, when I download the latest cppyy backend from PyPI, there seems to
be a different version of clingwrapper.cxx:
diff PyPy-cppyy-backend-6.6.9.0/src/backend/cppyy/src/clingcwrapper.cxx
pypy/pypy/module/cppyy/src/clingcwrapper.cxx
525c525
< cppresult->std::string::~string();
---
> cppresult->std::string::~basic_string();
715c715
< std::cerr << "Warning: " << msg << '\n';
---
> std::cerr << "Warning: " << msg.str() << '\n';
939c939
< // TClassRef& cr = type_from_handle( scope );
---
Disclaimer: I have not tried to use any of this, I'm just wondering
which one is correct
Matti
More information about the pypy-dev
mailing list