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]

Re: [Bug c++/11157] 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


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