Mail Archives: djgpp/1996/07/14/22:50:49
On 15/7/96 11:33 am, Bob Platko <platko AT ix DOT netcom DOT com> 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
- Raw text -