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++/13714] destructor name `const s' does not match type `const s' of expression


------- 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


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