Re: [CIL users] Arrays with no constant dimensions as arguments

2011-01-19 Thread Foivos Zakkak
Hello again, I also noticed that neither the following example is supported. float (**myA)[DIM] = (float (**)[])A; it throughs "Error: Length of array is not a constant: DIM" but the same declaration is fine with gcc. Thank you Zakkak Foivos On 01/19/2011 09:52 AM, Foivos Zakkak wrote: > Hello

[CIL users] Arrays with no constant dimensions as arguments

2011-01-19 Thread Foivos Zakkak
Hello, my subject may not be that clear and because i might not be able to explain it as well i'll give an example that gcc successfully compiles but CIL fails to parse. void foo(int DIM, int *A[DIM][DIM]) { } as you can see DIM is an argument of function foo and is not defined by #define (so it