This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32085] "warning: deleting void* is undefined" sometimes bogus
- From: "andrew dot stubbs at st dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2007 08:51:32 -0000
- Subject: [Bug c++/32085] "warning: deleting void* is undefined" sometimes bogus
- References: <bug-32085-10252@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from andrew dot stubbs at st dot com 2007-05-30 08:51 -------
OK, I see what you are getting at now. The delete is defined (by the code), but
the warning concerns the destructor also.
Anyway, as you say, the warning can be silenced by casting to char*.
--
andrew dot stubbs at st dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32085