Cyril Plisko <[EMAIL PROTECTED]> wrote:

> >>Apparently, C prohibits declaration like this -
> >>
> >>http://gcc.gnu.org/ml/gcc/2005-02/msg00053.html
> >>http://gcc.gnu.org/ml/gcc/2005-02/msg00054.html
> > 
> > 
> > I understand the content from the Link
> > 
> > http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_047.html
> > 
> > as a confirmation for my assumption that it is a compiler bug.
>
> Hm, now explain to me also :)
>
> The compiler bug is that it accepted that previously, or
> the compiler bug is that it stopped to accept it recently ?

I would call it a but that it stopped handling it.

There is absolutely no problem with this kind of declaration as long as you 
don't use the type together with address computations before the type
becomes "complete" because the C-compiler did collect enough information.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]        (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to