Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001716graphvizBuild/Installpublic2009-09-16 20:392011-04-28 04:03
ReporterAyla Khan 
Assigned Toellson 
PlatformOSOther-Linux-Scientific Linux 5.2OS Version
Summary0001716: Missing header in cmd/tools/gmlscan.l

Build error:
make[3]: Entering directory `/autofs/na1_home/ayla/devel/contour_tree/graphviz-2.25.20090916.0445/cmd/tools'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cgraph -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I../../lib/pack -I../../lib/neatogen -I../../lib/sparse -I../../lib/gvc -I../../lib/common -I../../lib/ingraphs -I/ccs/home/ayla/apps/graphviz/include -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT gmlscan.o -MD -MP -MF .deps/gmlscan.Tpo -c -o gmlscan.o gmlscan.c
./../cmd/tools/gmlscan.l: In function 'addstr':
./../cmd/tools/gmlscan.l:50: warning: implicit declaration of function 'realloc'
./../cmd/tools/gmlscan.l:50: warning: cast to pointer from integer of different size
In file included from lex.gml.c:581:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:601: error: conflicting types for 'realloc'
./../cmd/tools/gmlscan.l:50: error: previous implicit declaration of 'realloc' was here
make[3]: *** [gmlscan.o] Error 1
make[3]: Leaving directory `/autofs/na1_home/ayla/devel/contour_tree/graphviz-2.25.20090916.0445/cmd/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/autofs/na1_home/ayla/devel/contour_tree/graphviz-2.25.20090916.0445/cmd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/autofs/na1_home/ayla/devel/contour_tree/graphviz-2.25.20090916.0445'
make: *** [all] Error 2
Additional Information


Thanks. Fix applied to CVS. (BTW, I was a bit confused at first because your patch is backwards.
normally patches are generated with "diff -u old new" )
TagsNo tags attached.
--- cmd/tools/gmlscan.l 2009-09-16 20:39:13.883127000 -0400
+++ cmd/tools/ 2009-09-16 20:39:00.626394000 -0400
@@ -3,7 +3,6 @@
 #include <gml2gv.h>
 #include <gmlparse.h>
-#include <stdlib.h>

 #define GRAPH_EOF_TOKEN '@'
STATUS-COMMENTFixed (17 Sep 2009)
VERSION     2.25.20090916.0445
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker