This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: funny problem with g++
Tommy Vercetti writes:
>
> On 2005-12-07, at 16:26, Richard Guenther wrote:
>
> > On 12/7/05, Tommy Vercetti <vercetti@zlew.org> wrote:
> >> Hi there
> >>
> >> We had funny issue here lately. Someone wanted to create table that
> >> had 0 elements in C++, for instance this code:
> >
> > This is a gcc extension. Try g++ -pedantic
>
> This is a joke, you are kidding, right ?
No, we're not kidding. RTFM: Section, 5.12 Arrays of Length Zero ==========================.....
Andrew.