| Summary: | class browser confused on operator new when initializing structure | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Arturs Zoldners <kdevelop> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.4.1 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Version: 3.4.1 (using KDE KDE 3.5.7) Installed from: Fedora RPMs Compiler: gcc version 4.1.1 20070105 (Red Hat 4.1.1-51) OS: Linux The following code is correct under gcc (perhaps gcc-ism), but confuses kdevelop class browser: typedef struct { int foo; int bar; } baz; namespace N { class C { int fun(void) { new baz((baz) {1,2}); // <- ! } }; } as a result, class C disappears from namespace N in class browser.