P
Piotr Sawuk
I'm trying to re-compile some old ltris version, and got
ISO C++ forbids casting to an array type `int[12][400]'.
caused by the line
((int[BOWL_W+2][BOWL_PIX_H+BLOCKSIZE])bowl)[(int)cur_y + by*BLOCKSIZE + b]
so I hope that in order to compile this I need to multiply i
by 400 and add the other stuff, or was it the other way around?
sorry, I'm not experienced with this old-code-repairing.
is int[a] an array of int[a] arrays or one of int arrays?
or is there an option for g++ to compile without any ISO-checking?
--
Better send the eMails to netscape.net, as to
evade useless burthening of my provider's /dev/null...
before complaining because of my rudeness, read
http://www.unet.univie.ac.at/~a9702387/en/adl/liar-faq.txt
and killfile me resp. google on friday night GMT...
P
ISO C++ forbids casting to an array type `int[12][400]'.
caused by the line
((int[BOWL_W+2][BOWL_PIX_H+BLOCKSIZE])bowl)[(int)cur_y + by*BLOCKSIZE + b]
so I hope that in order to compile this I need to multiply i
by 400 and add the other stuff, or was it the other way around?
sorry, I'm not experienced with this old-code-repairing.
is int[a] an array of int[a] arrays or one of int arrays?
or is there an option for g++ to compile without any ISO-checking?
--
Better send the eMails to netscape.net, as to
evade useless burthening of my provider's /dev/null...
before complaining because of my rudeness, read
http://www.unet.univie.ac.at/~a9702387/en/adl/liar-faq.txt
and killfile me resp. google on friday night GMT...
P