Am 17.01.2017 um 22:39 schrieb Ryan Gonzalez:
Whoops, missed that one! Change line 715 to:
std::cerr << "Warning: " << msg.str() << '\n';
Success!
With these 2 fixes, it now builds using clang (with GNU libstdc++):
-- Set runtime path of
"/home/oberstet/pypy-5.6-linux_x86_64-portable/site-packages/cppyy_backend/lib/libcppyy_backend.so"
to ""
install finished
done
Removing source in /tmp/pip-YrtrlD-build
Successfully installed PyPy-cppyy-backend-6.6.9.0
Cleaning up...
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1/PyPy-cppyy-backend-6.6.9.0$
--
However, the basic example spills out weird things:
oberstet@thinkpad-t430s:~/scm/oberstet/scratchbox/cpp/capnproto/test1$
pypy MyClass.py
unknown type code: P
1
unknown type code: �
-178968160
77
Here:
https://gist.github.com/oberstet/a3814c77e5400df3456d7ac74a26bdf7
Code is all here:
https://github.com/oberstet/scratchbox/tree/master/cpp/capnproto/test1
Example was built like this:
https://github.com/oberstet/scratchbox/tree/master/cpp/capnproto/test1#test
--
\--
Ryan (ライアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else
<http://refi64.com/>
On Jan 17 2017, at 3:30 pm, Tobias Oberstein <tobias.oberst...@gmail.com>
wrote:
Hi Ryan,
Am 17.01.2017 um 20:56 schrieb Ryan Gonzalez:
This one looks like a bug in cppyy!
Try going to clingcwrapper.cxx and changing line 525 from:
Yeah, that helps: the issue at line 525 is gone, but the 2nd issue at
line 715 persists:
/tmp/pip-BVnCrW-build/src/backend/cppyy/src/clingcwrapper.cxx:715:35:
error: invalid operands to binary expression ('basic_ostream<char,
std::char_traits<char> >' and 'std::ostringstream' (aka
'basic_ostringstream<char>'))
std::cerr << "Warning: " << msg << '\n';
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
https://gist.github.com/oberstet/271719f569087f423197b6d8808ea6f1
/Tobias
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev