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?
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