| Summary: | import c++ classes crash ( unamed enum ) | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Montana Low <grassmonty> |
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Fixed in cvs by following chekins: parseEnumSpecifier(): Don't crash on anonymous enums. classparser/cpptree2uml.cpp 1.9 Skip anon enums. Create fake name for anon structs. classparser/cpptree2uml.h 1.5 classparser/cpptree2uml.cpp 1.11 |
Version: (using KDE KDE 3.3.1) Installed from: Gentoo Packages Compiler: gcc OS: Linux when the following code is encountered by "import c++ classes...", umbrello crashes. enum { ... }; the following code is successfully imported enum AnEnumerator { ... }; The code import still seems pretty buggy (although its very handy when it works), perhaps the whole thing should be wrapped in a try-catch, with a failure notice, instead of crashing the program?