[Bro-Dev] #515: NMI: Redhat type conversion errors in cxx wrapper made by swig
Bro Tracker
bro at tracker.bro-ids.org
Wed Jul 27 12:33:52 PDT 2011
#515: NMI: Redhat type conversion errors in cxx wrapper made by swig
-----------------------------------+------------------------
Reporter: appleman | Owner: robin
Type: Problem | Status: new
Priority: Normal | Milestone: Bro1.6
Component: pysubnettree | Version: git/master
Keywords: nmi swig pysubnettree |
-----------------------------------+------------------------
Redhat is having type conversion errors in the cxx wrapper made by swig
{{{
Building CXX object
aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/SubnetTreePYTHON_wrap.cxx.o
/home/condor/execute/dir_25683/userdir/bro/master/bro/build/aux/broctl/aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:
In function 'int SWIG_Python_ConvertFunctionPtr(PyObject*, void**,
swig_type_info*)':
/home/condor/execute/dir_25683/userdir/bro/master/bro/build/aux/broctl/aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:2051:
error: invalid conversion from 'const char*' to 'char*'
/home/condor/execute/dir_25683/userdir/bro/master/bro/build/aux/broctl/aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:
In function 'int SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)':
/home/condor/execute/dir_25683/userdir/bro/master/bro/build/aux/broctl/aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:2575:
error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int
PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)'
/home/condor/execute/dir_25683/userdir/bro/master/bro/build/aux/broctl/aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:
In function 'void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*,
swig_type_info**, swig_type_info**)':
/home/condor/execute/dir_25683/userdir/bro/master/bro/build/aux/broctl/aux/pysubnettree/SubnetTreePYTHON_wrap.cxx:4141:
error: invalid conversion from 'const char*' to 'char*'
make[2]: ***
[aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/SubnetTreePYTHON_wrap.cxx.o]
Error 1
}}}
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/515>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list