05-07-2014 06:48 PM
In SDK 2013.4, if I have a .cpp file with say:
#include "lwipopts.h" // LWIP_DHCP is defined as 1
#if LWIP_DHCP == 1
int mscnt = 0;
the syntax highlighting is correct (ie white background as above). But if lwipopts.h is included indirectly via another include file, the #if ... #endif is grayed out. It compiles correctly, but the display is wrong which is very confusing.
05-08-2014 04:49 AM
Thanks for reporting this. Could you please email me the attached code?
We could file a CR for the display issue.
Hope this helps.
05-10-2014 09:04 PM
I could zip a project and send it, but I'm not sure how to email you.
It looks like it has something to do with the indexer in 2013.4. I disabled the Indexer and then enabled it again, and the problem goes away.