Created attachment 549816 [details] Fix PHP code for php 5.4 I'm working on PHP 5.4 for fedora 17. Build of graphiz (which use swig) fails because of generated code zend_rsrc_list_get_rsrc_type return a const char * (not a char *) Build error: gv_php.cpp: In function 'void* SWIG_ZTS_ConvertResourcePtr(zval*, swig_type_info*, int)': gv_php.cpp:933:56: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] The trivial attached patch fixes this issue and is already applied on swig SVN. I hope an update (rawhide only), with this patch (or a new swig version, if available) will be possible.
Thanks for the report, swig-2.0.4-5.fc17 should be OK.