Bug #10363 2007-02-14 08:43

once_upon_user

"find declaration" doesn't find some of declarations

When I try to use feature : "find declaration" it fails in a case

when there is a struct defined similar to the one shown below:

Code:

typedef struct {

byte bunch;

byte ext_num[MAX_DIR_N];

byte int_num[MAX_DIR_NO_AB];

byte opts;

} __attribute__ ((packed)) NAME_OF_STRUCTURE;

I got result that declaration wasn't found. The problem could be with analyze last line. In general "__attribute__ ((packed))" prevents structure name from being found.

Category
 
Group
 
Status
Closed
Close date
2007-07-03 08:55
Assigned to
 
gd_on 2007-02-15 07:43

Not totally sure, but I think it could be related to the bug described in the forum in http://forums.codeblocks.org/index.php?topic=5044.msg39535#msg39535

(same effect, maybe not the same reason !)

gd_on

mandrav 2007-07-03 08:55

If the parser misses some declarations, "find decl." won't work.