On 12/7/05, Morten Welinder <[EMAIL PROTECTED]> wrote: > >> This is a joke, you are kidding, right ? > > No, we're not kidding. RTFM: Section, 5.12 Arrays of Length Zero > > He is kind of right, though. Outside struct (or perhaps union), > zero-sized arrays > make little sense and could be rejected. Or else I am missing something too.
Well, as nearly all gcc language extensions, the extension specification is not a formal specification, but more like handwaving ... Rather than restricting the extension, we should consider deprecating it (for C++!) in 4.1 and remove it from 4.2. I see no use for it in C++ code and recent actions were in favor of removing C++ language extensions. Richard.