[Bug c++/11157] Annoying warning message

gdr@integrable-solutions.net gcc-bugzilla@gcc.gnu.org
Thu Jun 12 12:05:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From gdr@integrable-solutions.net  2003-06-12 12:05 -------
Subject: Re:  Annoying warning message

"emild@collectivestudios.com" <gcc-bugzilla@gcc.gnu.org> writes:

| Is it possible to report the warning when an actual attempt to destroy the
| object through a Base* is made?

An approximation for that should be possible. Anyway, I think the
diagnostic should happen on uses, not on mere definition.

-- Gaby



More information about the Gcc-bugs mailing list