Bug#126411: c/9070: Improper warning when casting from pointer to non-const array to const

2003-01-11 Thread doko
Synopsis: Improper warning when casting from pointer to non-const array to const State-Changed-From-To: open->closed State-Changed-By: doko State-Changed-When: Sat Jan 11 03:16:55 2003 State-Changed-Why: not a bug http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9

Re: c/9070: Improper warning when casting from pointer to non-const array to const

2002-12-27 Thread Joseph S. Myers
On Fri, 27 Dec 2002, Matthias Klose wrote: > gcc generates a warning for the following test program, that I believe > is inappropriate. The warning is that it cannot implicitly cast from > (foo *) to (const foo *). This occurs when foo is an array type. The > sample program compiles without war

Bug#126411: c/9070: Improper warning when casting from pointer to non-const array to const

2002-12-27 Thread gcc-gnats
Thank you very much for your problem report. It has the internal identification `c/9070'. The individual assigned to look at your report is: unassigned. >Category: c >Responsible:unassigned >Synopsis: Improper warning when casting from pointer to non-const array >to const >Arriva