[C++-sig] Re: calling a python-callback-function - switching to python 2.3
dave at boost-consulting.com
Sun Sep 28 01:40:52 CEST 2003
Lars Kunert <lkunert at mpi-sb.mpg.de> writes:
> Thanks for pointing me to the pep 311 documents. This patch seem to be the
> solution to problems.
> Anyway it also opens up a bunch of new ones.
> I have just installed python 2.3.1 (to get the pep 311 stuff) and the
> current boost-cvs-snapshot to get a boost.python version wich works
> together with pyhton 2.3.
> Then I tried to recompile my program. I got the following error message:
>>In file included from /usr/local/include/python2.3/Python.h:69,
>> from /usr/local/include/boost/python/args.hpp:9,
>> from /usr/local/include/boost/python.hpp:12,
>> from QtApp.h:21,
>> from Thread.cxx:2:
>>/usr/local/include/python2.3/object.h:343: error: parse error before `;'
> in the file Python.h line 69 I find the the following code:
I'd be more concerned about line 343 of object.h.
More information about the Cplusplus-sig