Re: [Cython] cython --cplus --embed generates invalid code

2014-11-30 Thread Stefan Behnel
Michael Enßlin schrieb am 30.11.2014 um 16:14: > on my system, --embed does not work with --cplus. > > How to reproduce: Any valid pyx file works: > > $ rm -f test.pyx; touch test.pyx > $ cython --embed --cplus test.pyx > $ g++ -c test.cpp -I/usr/include/python3.4m > test.cpp: In function ‘wchar_

[Cython] cython --cplus --embed generates invalid code

2014-11-30 Thread Michael Enßlin
Hi, on my system, --embed does not work with --cplus. How to reproduce: Any valid pyx file works: $ rm -f test.pyx; touch test.pyx $ cython --embed --cplus test.pyx $ g++ -c test.cpp -I/usr/include/python3.4m test.cpp: In function ‘wchar_t* __Pyx_char2wchar(char*)’: test.cpp:945:41: error: inval