Community
Participate
Working Groups
Build Identifier: 20110615-0604 I'm using different build configurations for my C project, and for different configurations I have symbols like LINUX or WINDOWS active. But if I choose a different configuration the inactive code stays the same, i.e. the code is with gray background color. But the compiler will compile the right code and the editor will highlight the right compiler errors in the text (it will compile the gray inactive code and it will show compiler errors in the gray code). Reproducible: Always Steps to Reproduce: 1. Create 2 configurations, configuration A with symbol LINUX, configuration B with symbol WINDOWS 2. Create code with #ifdef LINUX xxx and #ifdef WINDOWS xxx 3. switch to configuration A 4. code inside the #ifdef WINDOWS is marked as inactive and code inside #ifdef LINUX is active 5. switch to configuration B 6. code inside the #ifdef WINDOWS is still marked as inactive, but will compile
*** This bug has been marked as a duplicate of bug 313944 ***