[Bug c++/11157] Annoying warning message

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Jun 12 12:05:00 GMT 2003


"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