Another C compiler bug?
David B. Anderson
davea at quasar.wpd.sgi.com
Thu Jul 19 01:50:28 AEST 1990
In article <5193 at castle.ed.ac.uk>, sjin at castle.ed.ac.uk (S.Jin) writes:
> Is it a bug or not? I can compile the piece of program below successfully
> on Sun 3/60(4.0_Export), HP900/825(7.00). But I failed to do that on 4D 20
> under IRIX 3.2.
[stuff deleted]
> struct Alist_Entry
> {
> void *slot;
> } ;
> ccom: Error: foo.c, line 8: slot undefined
> *( (int *) (ap->slot) ) = 11;
[stuff deleted]
> Is it a bug? Any comments are welcome.
Another posting (name not mentioned here) suggested user error.
To correct any misunderstanding this may cause:
This is a compiler bug. void, void * work in 3.3 cc but *not* in 3.2.
Regards,
[ David B. Anderson Silicon Graphics (415)335-1548 davea at sgi.com ]
[``What can go wrong?'' --Calvin and Hobbes]
More information about the Comp.sys.sgi
mailing list