#if __ide_target("Debug Win32 x86")
printf("YO!!!\n");
#endif
That worked ! (for Codewarrior Version 8 on Windows)
thanx
Søren
"Russell Hanneken" <> wrote in message
news:n0ILa.1223$_ ink.net...
> "Søren Grønbech" <> wrote in message
> news:3eff255b$0$24722$ k...
> > I'm using Codewarrior for Windows and for example
> > I can check the peephole option to see if we are currently compiling
> > with peephole optimization on...
> > #if __option(peephole)
> >
> > Is there a way to see if we are compiling with debug turned on?
>
> Ask this on codewarrior.windows. This newsgroup is for discussion of
> standard C++ (see http://www.slack.net/~shiva/welcome.txt).
>
> Just a thought: select "Online Manuals" under "Help," and look up the
> preprocessor macro "__ide_target()" in the index (I'm using CodeWarrior
> version 7; the documentation might not be laid out the same way on your
> system). That may or may not be what you're looking for.
>
> Regards,
>
> Russell Hanneken
>
>
>
>