This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13714] destructor name `const s' does not match type `const s' of expression
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2004 23:45:42 -0000
- Subject: [Bug c++/13714] destructor name `const s' does not match type `const s' of expression
- References: <20040116214909.13714.marcus@jet.franken.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-16 23:45 -------
The code is invalid, you cannot call the destructor with a different name (even though it is a
typedef name). So the only problem here is error message is wrong.
Confirmed on the mainline and the 3.4 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2004-01-16 23:45:40
date| |
Summary|[3.4] destructor name `const|destructor name `const s'
|s' does not match type |does not match type `const
|`const s' of expression |s' of expression
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13714