> rejecting the struct seems like the right thing to do as per
> ISO/IEC 9899:1999 (http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf)
> sec. 6.7.2.1 para. 2
> 
> "A structure or union shall not contain a member with incomplete or function 
> type (hence,
> a structure shall not contain an instance of itself, but may contain a 
> pointer to an instance
> of itself), except that the last member of a structure with more than one 
> named member
> may have incomplete array type; such a structure (and any union containing, 
> possibly
> recursively, a member that is such a structure) shall not be a member of a 
> structure or an
> element of an array."

you're implying that the point of the plan 9 compilers
is to toe the c99 line.

also, a pointer to an incomplete type is used
in many places in plan 9 libraries.

- erik

Reply via email to