This is the mail archive of the gcc-patches@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: [C++ PATCH] [PR13086] Clarification of diagnostic on delete ofan incomplete type (regression on 3.3/trunk)


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


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