Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Sap_ru on October 17, 2011, 02:38:41 pm

Title: Bug in codecompletition?
Post by: Sap_ru on October 17, 2011, 02:38:41 pm
I can't add bug at bugtracker, so I write this here:

Code
typedef struct {
int a;
int b;
} StructType;
#define StructAddr 0x1000
#define TEST (*(StructType *)StructAddr)
TEST. /* Codecompltetion doesn't show anything. */
(*(StructType *)StructAddr). /*  Ok. Codecompltetion shows fields. */

Seems like codecompletition doesn't parse defines correctly.
This works (doesn't work?) for both - 10.05 and latest nightly.
Title: Re: Bug in codecompletition?
Post by: oBFusCATed on October 17, 2011, 03:29:56 pm
Missing feature, not a bug.