On 10/10/07, Anselm R. Garbe <arg_AT_suckless.org> wrote:
> One question to this again. Actually I can't find any official
> reference why this should work in the C89 standard, call me
> blind or whatever. In C99 this definately works.
>
> Do you have a pointer to confirm that this works with C89 as
> well?
iirc c89 standard (aka iso c90 or ansi c) is not freely available
so what i usually do to check conformance:
gcc -ansi -pedantic
it seems that
int a[] = {1,2,3};
int b[sizeof(a)/sizeof(int)];
compiles fine in c89 mode
Received on Wed Oct 10 2007 - 17:35:21 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:58:55 UTC