Bug 22647 - const ignored in method signature
Summary: const ignored in method signature
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 1.4
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-18 19:03 UTC by Walter F. J. Mueller
Modified: 2002-09-23 01:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter F. J. Mueller 2001-03-18 18:49:36 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           1.4 (using KDE 2.1.0 )
Severity:          normal
Installed from:    Debian Package 4:2.1-final-0.potato1 (2.2)
Compiler:          gcc version 2.95.2 20000220 (Debian GNU/Linux)
OS:                Linux 2.2.18pre21 i686
OS/Compiler notes: 

It seems that the const'ness of a method is ignored.
If there are two methods like
  T&        operator[](int i);
  const T&  operator[](int i) const;
the class browser lists two methods under
  [](int i)
and obviously ignores the const'ness which is part
of the function signature. Clicking on both entries
leads to the same definition.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 John Firebaugh 2002-09-23 01:35:27 UTC
Fixed in CVS