Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Jeronimo on November 16, 2010, 08:18:44 pm

Title: struct-Problem when Reverse Engineering C-Code
Post by: Jeronimo on November 16, 2010, 08:18:44 pm
Hello,
I try to generate Class Diagrams from our C-source code using the reverse engineering option. I have the following problem:
EA generates for structures a extra class with the stereotype "struct" and uses the tag-name of the struct as class name.
But in our source code almost all structs are typedef'd and the structs are referenced by their typedef-name. So EA is not able to set the associations because it looks only at the struct-tag-name.
In some cases where only a typedef-name is given (and no struct-tag-name) EA detects the associations.
If I change the class name from the struct-tag-name to the typedef-name EA generates the associations on a resynchronization BUT it also generates a second class for the struct with the struct-tag-name...
Exists there any way to solve this problem?

bests,
Jeronimo