On Tue, Dec 19, 2006, Doug Henry wrote: > Not sure which is broken yet, but there is an incompatibility between swig and > python in openpkg when using C++. I haven't found the patch yet, but debian > swig/python works. The process I use is: > > g++ -c file.cpp > swig -c++ -python file.i > g++ -c `python-config --includes` file_wrap.cxx > > during the compile of the wrapper, I receive the following error always. > > error: invalid conversion from 'const char*' to 'char*'
Well, I guess Debian's SWIG is a different version than OpenPKG's SWIG and OpenPKG's SWIG seems to generate C++ code which our GCC dislikes. Look at the line GCC complains about: the generated code certainly has a difference there (or at the place of a variable declaration in case the line GCC complains about uses a variable). But in any way, I think you have to report this to either the Python and/or the SWIG guys, as only those will be able to really help... Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org