This is the mail archive of the gcc-bugs@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]

Re: Bug report


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

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