[Bug 74347] New: Contents of structures are not displayed in the class browser

Matthias Grünewald grueni75 at web.de
Fri Feb 6 14:41:03 UTC 2004

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Contents of structures are not displayed in the class
           Product: kdevelop
           Version: 3.0.0
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: grueni75 at web.de

Version:           3.0.0 (using KDE 3.2.0, SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-166-default

If I declare a struct like this:

typedef struct list {
  list_entry *start; //!< Pointer to the first element
  list_entry *end;   //!< Pointer to the last element
  uint32 max_elements;  //!< Maximum number of allowed elements
  uint32 element_count; //!< Current number of elements
} list;

then only an entry is displayed in the class browser but I can not view the contents of the structure (the + is missing on the entry).

Definitions like this work:

typedef struct list_entry list_entry;
struct list_entry {
  void *data;       //!< Pointer to the data
  list_entry *next; //!< Next element in the list
  list_entry *prev; //!< Previous element in the list

More information about the KDevelop-devel mailing list