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
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
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
3 matches
Mail list logo