This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/19866] Conversion from "type **" to "const type **" issues a warning.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2005 19:51:20 -0000
- Subject: [Bug c/19866] Conversion from "type **" to "const type **" issues a warning.
- References: <20050209181725.19866.jorgleis@in-exedra.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-09 19:51 -------
The warning is correct.
"const void **" is not compatiable to "void **", the const binds to the void but since only const void *
and void * are compatible but not type* and type1*.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19866