| Summary: | class view problem with nested classes | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Marc Klinger <marc> |
| Component: | kdevelop 2.x (obsolete) | Assignee: | KDevelop-Devel List <kdevelop-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.1 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
The error also shows up if the classes to be nested are declared in the
same header file like:
class Class1 {
public:
void foo() {};
class Class2; // forward declaration
};
class Class1::Class2 { // real declaration
public:
void foo() {};
};
bye Marc
Looks like this has been fixed in CVS. |
(*** This bug was imported into bugs.kde.org ***) 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)