This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug report
- To: NixonJ at EM dot AGR dot CA
- Subject: Re: Bug report
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Fri, 7 Jul 2000 23:29:20 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <s9660731.068@EM.AGR.CA>
Thanks for your bug report. I've put it into GNATS.
> I am using a computer with Red Hat Linux release 6.0 (Hedwig). My
> code attached caused the compiler to generate the message above,
> hence this email. If you are aware of a way to solve this problem
> please let me know.
Just write
T **x;
T *y[200];
T z[200][200];
and later
x=&(y[0]);
...
y[0]=&(z[0][0]);
If your code is correct, no cast is needed.
Regards,
Martin