Exnor wrote:
hi! when i compile a C program in which i have declared a matrix like
#define N 100
int A[N][N][N];
i get this error:
[ste@localhost loc_espacial]$ gcc -O2 suma3D.c -o suma3D
suma3D.c: In function `main':
suma3D.c:38: error: size of variable `A' is too large
and i don't know if it's a gcc o problem or a prob of my Mandrake10.
this compiles fine with mainline. If you want more help, please provide
full details (like a complete program, information about the gcc you're
using...)
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@xxxxxxxxxxxxxxxx :: http://www.planetfall.pwp.blueyonder.co.uk