Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: hcye on March 31, 2006, 03:33:45 am

Title: Finding declaration --- works in C++ but not C?
Post by: hcye on March 31, 2006, 03:33:45 am
It seems that if I declare a struct the C++ way --- struct XXX { ... }; --- then C:B editor can find the declarion with a right click. But if I declare a struct the C way --- typedef struct xxx { ... } XXX; --- then the editor cannot find the declaration. In fact, the editor in general cannot find typedef declarations.

Is this a know issue? If so, is there a work-around?
Title: Re: Finding declaration --- works in C++ but not C?
Post by: takeshimiya on March 31, 2006, 03:39:02 am
Known issue.
Title: Re: Finding declaration --- works in C++ but not C?
Post by: MortenMacFly on March 31, 2006, 08:16:01 am
Reading http://forums.codeblocks.org/index.php?topic=1161 (http://forums.codeblocks.org/index.php?topic=1161) carefully might help.
With regards, Morten.