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).
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).