Bug #11930 2007-09-05 14:54

indrek

Unnamed stuctures inside structures

Let's have an example structure
struct SMyStruct {
    int aa;

    union {
        int bb;
        float cc;
    };

    struct {
        int dd;
        int ee;
    };

};

SMyStruct newStruct;

After I have written  "newStruct." code completion gives me a list
"aa"
"bb"
"cc"
"Unnamed-Struct-62"

It seems that it can't handle unnamed structures correctly but doesn't have any problems with unions. It should handle structures exactly the same way as unions.
Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2010-10-15 14:09
Assigned to
loaden
loaden 2010-10-15 14:09

This bug is now fixed in HEAD.

Thank you for reporting it.