Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000114graphvizBuild/Installpublic2002-09-17 19:182011-04-28 04:02
ReporterPhillip Wu 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSSparc-Solaris-2.8OS Version
Summary0000114: Compile Error (Solaris 8/gcc 2.95.3/Graphviz 1.8.9)
Description



Compile error. After running configure and make it gets to this part of
the compile:
<CD>
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../tools/sfio -g -O2 -Wall -Wno-u
nknown-pragmas -DNDEBUG -c sfdcdio.c -fPIC -DPIC -o sfdcdio.lo
In file included from ../../../tools/sfio/sfio_t.h:29,
                 from ../../../tools/sfio/sfhdr.h:12,
                 from sfdchdr.h:1,
                 from sfdcdio.c:1:
../../../tools/sfio/sfio.h:93: parse error before `*'
../../../tools/sfio/sfio.h:94: parse error before `*'
../../../tools/sfio/sfio.h:95: parse error before `*'
../../../tools/sfio/sfio.h:96: parse error before `_ARG_'
../../../tools/sfio/sfio.h:100: parse error before `Sfread_f'
../../../tools/sfio/sfio.h:100: warning: no semicolon at end of struct or union
../../../tools/sfio/sfio.h:101: warning: type defaults to `int' in declaration o
f `writef'
../../../tools/sfio/sfio.h:101: warning: data definition has no type or storage
class
../../../tools/sfio/sfio.h:102: parse error before `seekf'
../../../tools/sfio/sfio.h:102: warning: type defaults to `int' in declaration o
f `seekf'
../../../tools/sfio/sfio.h:102: warning: data definition has no type or storage
class
../../../tools/sfio/sfio.h:103: parse error before `exceptf'
</CD>



and many more error messages.



The relevant lines in sfio.h are:
<CD>
typedef ssize_t (*Sfread_f)_ARG_((Sfio_t*, Void_t*, size_t, Sfdisc_t*));
typedef ssize_t (*Sfwrite_f)_ARG_((Sfio_t*, const Void_t*, size_t, Sfdisc_t*));
typedef Sfoff_t (*Sfseek_f)_ARG_((Sfio_t*, Sfoff_t, int, Sfdisc_t*));
typedef int (*Sfexcept_f)_ARG_((Sfio_t*, int, Void_t*, Sfdisc_t*));
</CD>



My C is not all that good but is this trying to define a proforma procedure?
Why is this compile failing?



Thanks for any help.



Phillip Wu
[email protected]



ps. I resolved the configure problem that I previously reported.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID202
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     1.8.9
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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