typedef in c
Jeremy Sanders
jsanders at aecom.UUCP
Sat Dec 17 03:55:32 AEST 1983
I never really used typedef much, and was pretty suprised at a
limitation in it. When I tried this sort of declaration, I got a whole
bunch of errors :
typedef struct
{
newtyp *member;
} newtyp;
I finally had to do something along these lines
typedef struct stupid
{
struct stupid *member;
} newtyp;
Any ideas why the compiler can't figure out the original entry?
--
Jeremy Sanders
{philabs|pegasus|esquire|cucard}!aecom!{sanders|jsanders}
More information about the Comp.lang.c
mailing list