Bug#45770: class view problem with nested classes

marc at nightlabs.de marc at nightlabs.de
Fri Jul 26 01:34:02 UTC 2002


Package: kdevelop
Version: 2.1 (using KDE 3.0.0 )
Severity: normal
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.18-4GB
OS/Compiler notes: 

Class view doesn't show nested classes if they are declared in two different header files (with forward declaration in one of them).

Example:

--------- class1.h start ---------
class Class1 {
public: 
  void foo() {};
  class Class2;  // forward declaration
};
--------- class1.h end ---------

--------- class2.h start ---------
#include "class1.h"
class Class1::Class2 {  // real declaration
public: 
  void foo() {};
};
--------- class2.h end ---------

Class1 will be shown, but not Class2.
I'm using KDevelop 2.1 now, but the problem already existed in older versions.


(Submitted via bugs.kde.org)
(Called from KBugReport dialog)


(Complete bug history is available at http://bugs.kde.org/db/45/45770.html)




More information about the KDevelop-devel mailing list