Author Topic: Finding declaration --- works in C++ but not C?  (Read 2199 times)

Offline hcye

  • Multiple posting newcomer
  • *
  • Posts: 20
Finding declaration --- works in C++ but not C?
« 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?

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Finding declaration --- works in C++ but not C?
« Reply #1 on: March 31, 2006, 03:39:02 am »
Known issue.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9524
Re: Finding declaration --- works in C++ but not C?
« Reply #2 on: March 31, 2006, 08:16:01 am »
Reading http://forums.codeblocks.org/index.php?topic=1161 carefully might help.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ