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.

URGENT - strange problem with ifdef-define and CCSv6

Heelo all.

The other day I updated my annual subscription to CCSv6 and I am having problem with the preprocessor descriptions for one project.

I am using some ifdef commends but CCS is not aware of the changes, and the compiled file is generating the same version no matter the define name I use. However the editor is updating (with gray areas properly).

As an example of that, this screen capture. The compiler is hatling at the not defined area!!!

How can I solve this problem?

Thank you.

  • PAk said:

    I am using some ifdef commends but CCS is not aware of the changes, and the compiled file is generating the same version no matter the define name I use. However the editor is updating (with gray areas properly).

    As an example of that, this screen capture. The compiler is hatling at the not defined area!!!

    Could you check if rebuilding the index helps? (right click on project and select Index->Rebuild)

    Also does the error remain even after Rebuilding the project?

    I would suggest giving a try to the basic troubleshooting tips in this page, and if that does not help, please send us a reproducible project that we can use to duplicate the issue.