User forums > General (but related to Code::Blocks)

Finding declaration --- works in C++ but not C?

(1/1)

hcye:
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?

takeshimiya:
Known issue.

MortenMacFly:
Reading http://forums.codeblocks.org/index.php?topic=1161 carefully might help.
With regards, Morten.

Navigation

[0] Message Index

Go to full version