On Wed, Dec 07, 2005 at 11:50:49PM +, Tristan Wibberley wrote:
>
> IMHO, this is a good extension, at least until boost::array gets
> standardised.
#include
in GCC 4.0
jon
Morten Welinder 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 som
On Wed, Dec 07, 2005 at 11:43:31PM +0200, Michael Veksler wrote:
> Quoting Richard Guenther <[EMAIL PROTECTED]>:
>
> > On 12/7/05, Morten Welinder <[EMAIL PROTECTED]> wrote:
> > > He is kind of right, though. Outside struct (or perhaps union),
> > > zero-sized arrays
> > > make little sense and c
Quoting Richard Guenther <[EMAIL PROTECTED]>:
> On 12/7/05, Morten Welinder <[EMAIL PROTECTED]> wrote:
> > 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
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 reject
>> 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.
M.
Tommy Vercetti writes:
>
> On 2005-12-07, at 16:26, Richard Guenther wrote:
>
> > On 12/7/05, Tommy Vercetti <[EMAIL PROTECTED]> wrote:
> >> Hi there
> >>
> >> We had funny issue here lately. Someone wanted to create table that
> >> had 0 elements in C++, for instance this code:
> >
> >
On 2005-12-07, at 16:26, Richard Guenther wrote:
On 12/7/05, Tommy Vercetti <[EMAIL PROTECTED]> 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, yo
On 12/7/05, Tommy Vercetti <[EMAIL PROTECTED]> 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
Richard.
> int main()
> {
> char a[0];
> char b[