[C++ PATCH] [PR13086] Clarification of diagnostic on delete of an incomplete type (regression on 3.3/trunk)
Jason Merrill
jason@redhat.com
Thu Jan 15 21:24:00 GMT 2004
On Thu, 15 Jan 2004 13:36:37 +0100, "Giovanni Bajo" <giovannibajo@libero.it> wrote:
> incomplete1.C:19: note: the generated code will not work, unless the class does
> not have a destructor nor a delete operator.
"will not work" is too vague. Either say the behavior is undefined and
use the term "non-trivial destructor" (standardese) or say that neither a
destructor nor operator delete will be called.
Jason
More information about the Gcc-patches
mailing list