Re: [Interest] Problem compiling boost::python code in Qt

2016-10-05 Thread Viktor Engelmann
imho, this should be changed in boost. They cannot use a variable name that is a "keyword" in such a widely used C++ environment as Qt. Am 29.09.2016 um 08:51 schrieb Thiago Macieira: > On quinta-feira, 29 de setembro de 2016 09:24:41 PDT Kapil Gupta wrote: >> /usr/include/python3.5m/object.h:445

Re: [Interest] Problem compiling boost::python code in Qt

2016-09-28 Thread Thiago Macieira
On quinta-feira, 29 de setembro de 2016 09:24:41 PDT Kapil Gupta wrote: > /usr/include/python3.5m/object.h:445:23: error: expected unqualified-id > before ‘;’ token > PyType_Slot *slots; /* terminated by slot==0. */ Hint: when the error message from the compiler makes no sense, check the pre

Re: [Interest] Problem compiling boost::python code in Qt

2016-09-28 Thread Richard Öhlinger
On 09/29/2016 05:54 AM, Kapil Gupta wrote: I am using Boost::python for access to python code from c++. When I included the `PythonLibs` and Boost::Python into my code, I started having this error: ``` /usr/include/python3.5m/object.h:445:23: error: expected unqualified-id before ‘;’ token P

Re: [Interest] Problem compiling boost::python code in Qt

2016-09-28 Thread Mike Chinander
On Sep 28, 2016 10:54 PM, "Kapil Gupta" wrote: > > Hi, > > I am using Boost::python for access to python code from c++. > When I included the `PythonLibs` and Boost::Python into my code, I started having this error: > > ``` > /usr/include/python3.5m/object.h:445:23: error: expected unqualified-id

[Interest] Problem compiling boost::python code in Qt

2016-09-28 Thread Kapil Gupta
Hi, I am using Boost::python for access to python code from c++. When I included the `PythonLibs` and Boost::Python into my code, I started having this error: ``` /usr/include/python3.5m/object.h:445:23: error: expected unqualified-id before ‘;’ token PyType_Slot *slots; /* terminated by slo