funny problem with g++
Andrew Haley
aph@redhat.com
Wed Dec 7 20:34:00 GMT 2005
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.
More information about the Gcc
mailing list