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]

[Bug c++/13086] [3.3/3.4/3.5 regression] the location of the warning message is wrong when calling delete on incomplete type


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-02-04 18:42 -------
Reword this:

note: the generated code will not work, unless the class does
not have a destructor nor a delete operator.

as:

note: neither the destructor nor the class-specific operator delete will be
called, even if they are declared when the class is defined.

I believe that takes into account Gaby's and Jason's comments.

Then, please check in the patch.

Thanks.

-- 


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


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