This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem Gcc 3.3.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]