Message-Id: Date: Mon, 15 Jul 1996 14:45:14 +1200 From: Bill Currie To: platko AT ix DOT netcom DOT com Cc: djgpp AT delorie DOT com Subject: Re: Why does this code not work? On 15/7/96 11:33 am, Bob Platko did thus say >>> > I can't get the following code to work in GCC. I keep getting warnings that the > array has elements past what I defined the limit. It compiles perfectly in TCC. > > --code-- > > const MAXPOLYS = 5; > const POLYPOINTS = 4; > const POLYCORDS = 3; > > > signed short A[MAXPOLYS][POLYPOINTS][MAXPOLYS] = ^^^^ should this be POLYCORDS?? > { > { {-10, 10, 0},{ -2,-10, 0},{ 0,-10, 0},{ -5,10, 0} }, [snip] Bill