sprasad created QPID-4020:
-----------------------------
Summary: qpid-0.16 cpp/bindings/qmf/python error
Key: QPID-4020
URL: https://issues.apache.org/jira/browse/QPID-4020
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: 0.16
Environment: boost_1_49_0, python2.7, SWIG Version 1.3.29, GCC 4.4.0,
Red Hat linux
Reporter: sprasad
Priority: Minor
Hi,
I am trying to build qpid-0.16 cpp project and the following error is reported.
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../include
-I../../../include -I../../../src/qmf -I../../../src -I../../../src
-I../../../include -I../../../include -I../../../src/qmf -I../../../src
-I../../../src -I./qmf -I/usr/local/include/python2.7 -fno-strict-aliasing
-I/home/dev/boost/boost_1_49_0 -MT _qmfengine_la-qmfengine.lo -MD -MP -MF
.deps/_qmfengine_la-qmfengine.Tpo -c qmfengine.cpp -fPIC -DPIC -o
.libs/_qmfengine_la-qmfengine.o
qmfengine.cpp: In function 'int SWIG_Python_ConvertFunctionPtr(PyObject*,
void**, swig_type_info*)':
qmfengine.cpp:2051: error: invalid conversion from 'const char*' to 'char*'
qmfengine.cpp: In function 'int SWIG_AsCharPtrAndSize(PyObject*, char**,
size_t*, int*)':
qmfengine.cpp:2631: error: cannot convert 'int*' to 'Py_ssize_t*' for argument
'3' to 'int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)'
qmfengine.cpp: In function 'void SWIG_Python_FixMethods(PyMethodDef*,
swig_const_info*, swig_type_info**, swig_type_info**)':
qmfengine.cpp:17069: error: invalid conversion from 'const char*' to 'char*'
make[3]: *** [_qmfengine_la-qmfengine.lo] Error 1
make[3]: Leaving directory `/home/dev/boost/qpid-0.16/cpp/bindings/qmf/python'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]