[Bug c++/13086] [3.3/3.4/3.5 regression] the location of the warning message is wrong when calling delete on incomplete type
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 4 18:42:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list