conditional compilation ignoredhttps://www.eclipse.org/forums/index.php/mv/msg/74435/232623/#msg_232623
I have a #define and #ifdef in my code for conditional compilation.
This worked all the time.
Since yesterday the code which shall not be compiled is compiled and vice
versa the code which shall be compiled is not.
In the source file the code which shall not be compiled is colored exactly
like Eclipse is marking code not to be compiled.
The project file contains a block DEFINE, but there are no entries in this
block.

Is there any setting within Eclipse which overrides the #ifdef within the
code?

Eclipse 3.3.3, CDT4.0.3

Any tips are very welcome, thank you.

Nikosch]]>Nick Schweyer2009-04-06T20:44:06-00:00Re: conditional compilation ignoredhttps://www.eclipse.org/forums/index.php/mv/msg/74435/232657/#msg_232657
I use this feature, too. I don't have that problems and I don't know what
the project file ist. If it is .project, I don't have DEFINE there, too.
But it works fine. Maybe you pass arguments to the compiler?
-DEXTRA_INPUT=1 as Argument is like #define EXTRA_INPUT=1