Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002177graphvizBuild/Installpublic2011-12-28 06:192012-01-02 02:59
ReporterRemi Collet 
Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Summary0002177: Build against PHP 5.4
DescriptionBuild fails
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]
Steps To ReproduceBuild against PHP 5.4.0 (RC4 is published)
Additional InformationThis trivial patch fix this issue.
But as it seems generated, I dont find which file need to be fixed

diff -up graphviz-2.28.0/tclpkg/gv/gv_php.cpp.php54 graphviz-2.28.0/tclpkg/gv/gv_php.cpp
--- graphviz-2.28.0/tclpkg/gv/gv_php.cpp.php54 2011-12-28 09:41:43.519787401 +0100
+++ graphviz-2.28.0/tclpkg/gv/gv_php.cpp 2011-12-28 12:00:48.356986709 +0100
@@ -921,7 +921,7 @@ SWIG_ZTS_ConvertResourcePtr(zval *z, swi
   swig_object_wrapper *value;
   void *p;
   int type;
- char *type_name;
+ const char *type_name;
 
   value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type);
   if ( flags & SWIG_POINTER_DISOWN ) {
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.28.0
Attached Files

- Relationships

-  Notes
User avatar (0000140)
Remi Collet (reporter)
2011-12-28 06:48

In fact, building graphivz against PHP 5.4 requires a change in swig (available in SVN, not yet released)

- Issue History
Date Modified Username Field Change
2011-12-28 06:19 Remi Collet New Issue
2011-12-28 06:48 Remi Collet Note Added: 0000140


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker