Illegal union question

Jack Stephens jms at wzlr.UUCP
Thu Feb 23 16:49:50 AEST 1989


The following declaration yeilds an "illegal member use" error
for both f and next under the compilers on both by PC and my 3B1 
and I can't seem to understand why.  Amybody feel pedegogical ?

jms

typedef struct m_i {
  int type;
	 union {
	 int (*f)();
	 struct m_i *next;
	 }
} menu[10];



More information about the Comp.unix.questions mailing list