Built a swig-1.3.31 package and confirmed generated swig code works with
python 2.5.


On 12/19/06, Doug Henry <[EMAIL PROTECTED]> wrote:

I found some info that suggests versions of swig prior to 1.3.30 are
incompatible with python 2.5.

On 12/19/06, Doug Henry < [EMAIL PROTECTED]> 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*'
>
>

Reply via email to