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.
Hi all,
I'm facing a strange error. Using CCS 5.1.
The defines from a header file are not parsed by a C file that includes this header file. I have to make the define inside every C file to make it work. My project is imported from CCS v3.3.
What might be happening?
Additional information:
To compile/link the defines on the header work perfectly. I'm considering that it probably is a editor error or misconfiguration.
Any help or comment is deeply appreciated.
Hi,
I imagine you are seeing some syntax errors that are coming from the syntax checker, since the project compiles and builds fine, right?
If so, you can check additional details here and here.
Keep in mind that the indexer is usually able to properly parse all the include files, but sometimes the project has some defined symbols in the project options that are invisible to the indexer. If these symbols are used to remove parts of the code through #ifdef/#ifndef directives, then this may explain the inconsistency you are experiencing.
In any case, please give a try to the suggestions on the threads I sent.
Hope this helps,
Rafael
Hi,
Just by checking a few other options on the indexer page solved the problem.
Thanks!