Author Topic: Finding declaration --- works in C++ but not C?  (Read 3749 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?

takeshimiya

  • Guest
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: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ