| Summary: | Class parser need explicit namespace | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | pfrancq |
| Component: | Language Support: CPP (old) | Assignee: | KDevelop-Devel List <kdevelop-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.0 | ||
| Target Milestone: | --- | ||
| Platform: | Mandrake RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
This is problem is no longer present in cvs HEAD. Closing. Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively |
(*** This bug was imported into bugs.kde.org ***) Package: kdevelop Version: 2.0 (using KDE 2.2.0 ) Severity: wishlist Installed from: Linux-Mandrake 8.0 (Traktopel) - Unsupported Compiler: gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk) OS: Linux (i686) release 2.4.3-20mdksmp OS/Compiler notes: When classes are declared in a namespace the namespace must be given to make the methods' declaration accessible from the class parser. Ex.: // c.h namespace n { class c { c(void); } } // c.pp #include <c.h> using namespace n; n::c::c(void) { } The "n::" part of the declaration has to be specify to make the class parser find the declaration but because a "using namespace instruction has been added" it is not necessary (and it makes the code less readable). (Submitted via bugs.kde.org) (Called from KBugReport dialog)