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.
Tool/software: Code Composer Studio
With code composer studio I am using build variables, and then using those build variables in predefined symbols, These are illustrated below. The project builds correctly but unfortunately the editor doesn't evaluate the macro correctly, which consequently causes a Semantic Error "Symbol could not be resolved" and more importantly the Inactive code highlighting incorrectly highlights this as inactive code. I've seen that is is easy to 'disable' the inactive code highlighting (and Semantic Error warnings), but I find the inactive code highlighting useful when it is working correctly. If I change the predefined symbol to the actual symbol names it works correctly (the symbols are defined in one of the header files).
Is there a setting somewhere that I'm missing that allows the build variables to be used in pre-defined symbols and evaluated properly by the editor?
Hello Alan,
This is a limitation of the Eclipse CDT indexer. I'm looking for a workaround, but there does not appear to be any. If I find one, I'll be sure to provide an update.
ki