This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Open Declaration (CTRL + Click) opens header file declarataion , Not the actual Function

Hi,

I am using CCS 6 Beta 4.

I have a project with huge number of files. When i CTRL+Click on the function name it is taking me to the HEADER file wherer i defined the function prototype, instead of taking me to the actual function.

This is really very annoying.

Whats interesting is that other projects are working fine , only this particular project doesnt work.

My question is, How do i get it corrected. All files are linked well. There are NO ERRORS and the Project is working without any issues on the hardware.

Am i missing some setting ?

My code looks like this :

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  

Main.c :

#include "Common_Header.h"

int main (void)

{

...

func1();

func2();

func3();

func4();

...

}

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  

Common_Header.h :

#include "Header1.h"
#include "Header2.h"
#include "Header3.h"
#include "Header4.h"

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  

Header1.h:

...

extern void func1(void);

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  

Header2.h:

...

extern void func2(void);

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  

Header3.h:

...

extern void func3(void);

So basically i will be including the Common_Header.h in all the C files.

No when i CTRL+CLICK on the func1();  in the main.c  I expect it opens the C file havint the func1, but it takes me to the Header1.h