Joerg Schilling wrote:
Cyril Plisko <[EMAIL PROTECTED]> wrote:


This seems to verify a compiler bug.

In contrary to
extern struct foo *p;

the [] notation needs to know the size but it should be sufficient if the compile knows the size before the variable is used.

Jörg


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 ?


Cyril


Jörg


_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to