This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/32085] "warning: deleting void* is undefined" sometimes bogus



------- Comment #2 from andrew dot stubbs at st dot com  2007-05-25 16:16 -------
I'm confused.

It might be the case that there is a type for which this warning is valid - I
don't know C++ well enough to confirm or deny that - but in *this* example, and
perhaps others like it, the warning is mis-leading. I've tested the code, and
the delete operator does exactly what I would expect (or maybe that's what's
wrong?)

Is it not possible to distinguish cases where the warning is warranted and
cases where it is not?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32085


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]