lpcware

Macros that evaluate true are greyed out in editor (and vice versa)!

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by jdupre on Tue Nov 26 11:11:12 MST 2013
I've got v6.1 and am working with the LPCOpen demo code.  In the editor, #if and #ifdef macros are not getting displayed correctly.  That is, some macros that evaluate true are greyed out, and macros that evaluate false are not greyed out.  It's just a display issue.  When I step through the code, the debugger will "step into" the greyed out sections.

How do I get the editor to recognize the macro definitions correctly?  

Outcomes