Using Eclispe for DS-5 and compiler version 5.05, I get a problem in editing my project source files in the Eclipse Editor. It happens that the Indexer does not recognise the compiler's predefined macros, like "__arm__". This causes numerous false error indications in my editor views. Obviously, the project builds just fine, as the compiler takes the correct decisions based on the predefined macros. It is just that the annotation in the editor tabs is incorrect.
Similarly,another problem I encountered is with the Editor not recognizing the "__asm" keyword, marking a function af an inline assembly one. I get a syntax error indication on my code lines. However, sinec this is a leggit keyword, the code compiles just fine.
How can I configure Eclispe to "understand" the "__asm" keyword and the predefined macros?
This should be fixed in the more recent releases of DS-5 (5.20, 5.21 etc). Which version are you using?
Hold that thought... will investigate to find out if the defect was fixed.