[Scipy-tickets] [SciPy] #459: compilation error due to missing const declaration in head of sparsetools_wrap.cxx

SciPy scipy-tickets@scipy....
Sat Jul 7 22:37:54 CDT 2007


#459: compilation error due to missing const declaration in head of
sparsetools_wrap.cxx
--------------------------+-------------------------------------------------
 Reporter:  johannct      |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  normal        |   Milestone:          
Component:  scipy.sparse  |     Version:          
 Severity:  normal        |    Keywords:          
--------------------------+-------------------------------------------------
 compiling the head of svn (revision 3147), I got
 scipy/sparse/sparsetools/sparsetools_wrap.cxx: In function ‘int
 SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)’:
 scipy/sparse/sparsetools/sparsetools_wrap.cxx:1231: error: invalid
 conversion from ‘const char*’ to ‘char*’
 scipy/sparse/sparsetools/sparsetools_wrap.cxx: In function ‘void
 SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**,
 swig_type_info**)’:
 scipy/sparse/sparsetools/sparsetools_wrap.cxx:20200: error: invalid
 conversion from ‘const char*’ to ‘char*’
 scipy/sparse/sparsetools/sparsetools_wrap.cxx: In function ‘int
 SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)’:
 scipy/sparse/sparsetools/sparsetools_wrap.cxx:1231: error: invalid
 conversion from ‘const char*’ to ‘char*’
 scipy/sparse/sparsetools/sparsetools_wrap.cxx: In function ‘void
 SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**,
 swig_type_info**)’:
 scipy/sparse/sparsetools/sparsetools_wrap.cxx:20200: error: invalid
 conversion from ‘const char*’ to ‘char*’


 putting const statements in lines 1231, 20200 and 20204 allowed to resume
 the build

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/459>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list