Eclipse/CDT editor not picking up project-defined symbols in coloring ifdef'ed out sections

Posted by Guy on Stack Overflow See other posts from Stack Overflow or by Guy
Published on 2010-06-01T17:19:55Z Indexed on 2010/06/01 17:23 UTC
Read the original article Hit count: 158

Filed under:
|

The problem I'm seeing is that under preferences, C/C++ Defined symbols for different Configurations/targets aren't showing up in the code coloring.

When I change the active build configuration in the project menu, I would expect the editor & code coloring to pick up the symbols from the project settings, but it only seems to be picking up the symbols for one of the targets.

Is there any way to have the code coloring for ifdef'ed code follow the active build configuration?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about cdt