problem Gcc 3.3.2

Nathan Sidwell nathan@codesourcery.com
Fri Apr 22 11:38:00 GMT 2005


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@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc-help mailing list