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.

CCSTUDIO: Showing compilation failure error on the code gray out

Part Number: CCSTUDIO

Hi Champ,

I am asking my customer. 

After rebuilding the code, it is showing a compilation failure error in console window on an undefined symbol (DCL_runPI_L1).

While the definition of the symbol is actually grey out in the code, not being defined, the compiler should not be supposed to compile the symbol which is commented out, why the compiler had compiled the grey out symbol then showed the error ? would the expert explain on this ?

Then, how to resolve the error ?

Thanks and regards,

Johnny

  • Hi Johnny,

    While the definition of the symbol is actually grey out in the code, not being defined, the compiler should not be supposed to compile the symbol which is commented out, why the compiler had compiled the grey out symbol then showed the error ? would the expert explain on this ?

    Please note that the editor highlighting functionality is based on the indexer functionality of Eclipse CDT, which can sometimes be inaccurate. The compiler does not use this functionality. Please have the customer check the code. It is clearly getting picked up from somewhere

    Thanks

    ki