This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20422] warning: passing arg 1 of `mymalloc' from incompatible pointer type
- 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: 11 Mar 2005 14:55:53 -0000
- Subject: [Bug c/20422] warning: passing arg 1 of `mymalloc' from incompatible pointer type
- References: <20050311100700.20422.pbijdens@storagelabs.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-11 14:55 -------
Yes this is invalid, void* is able to convert to/from any pointer freely but once void** comes into play it
is a different story.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20422