a possible workaround over this bug is to cast type_name, in line 953, you should have a call like this:
return SWIG_ZTS_ConvertResourceData(p, type_name, ty TSRMLS_CC);
change to:
return SWIG_ZTS_ConvertResourceData(p, const_cast<const char*>(type_name), ty TSRMLS_CC);
This is a SWIG error, and this error appears only on some compilers, here is the reported error: sourceforge. net/tracker/ index.php? func=detail& aid=3479190& group_id= 1645&atid= 101645 www.graphviz. org/mantisbt/ view.php? id=2177
http://
here is another complain from Graphviz (don't use Graphviz fix)
http://
a possible workaround over this bug is to cast type_name, in line 953, you should have a call like this: ConvertResource Data(p, type_name, ty TSRMLS_CC);
return SWIG_ZTS_
change to: ConvertResource Data(p, const_cast<const char*>(type_name), ty TSRMLS_CC);
return SWIG_ZTS_