[Bug c/19866] Conversion from "type **" to "const type **" issues a warning.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 10 00:33:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list