[XviD-devel] [PATCH] x86_64 QPel tables declaration fix
Martin Drab
drab at kepler.fjfi.cvut.cz
Tue Jul 12 14:43:19 CEST 2005
On Tue, 12 Jul 2005, Pascal Massimino wrote:
> > (BTW: I even
> > think "int x[][]" is not allowed in C, I had a discussion with the GCC
> > guys on this topic a while ago.
>
> Must have been quite a discussion, considering that gcc
> allows use of zero-sized arrays ;)
Well, actually I found some bug in the gcc (GCC bug #19333),
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19333
and it turned out that it was due to an improper handling of constructions
like these in special cases, because gcc allowed them before. I don't know
whether it was allowed only by accident or intentionally, but then they
decided to ban these constructions as they are not allowed in the C
standard anyway.
If you take a closer look at the bugreport, you'll find out that it was
discovered during a compilation of XviD. :-)
Martin
More information about the XviD-devel
mailing list