Comment 10 for bug 1015964

Revision history for this message
Pietro Cerutti (gahr) wrote : Re: PHP5 bindings build failure

Rodolfo, the line you're mentioning (return SWIG....) is at :955, and const_casting there doesn't help. A fix would be to change the definition of type_name at :944 from char * to const char*, but as you mentioned that's a generated file and patching there isn't really a solution..

I have tried to build zorba using swig-2.0.7 and it worked fine, so I guess depending on that version would be a solution (change 1.3.40 to 2.0.7 in CMakeLists.txt lines 325 and 327).