| View previous topic :: View next topic |
| Author |
Message |
Søren Grønbech Guest
|
Posted: Sun Jun 29, 2003 5:46 pm Post subject: Codewarrior: am I compiling with debug on ? |
|
|
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?
thanx,
Søren
|
|
| Back to top |
|
 |
MiniDisc_2k2 Guest
|
Posted: Mon Jun 30, 2003 1:27 am Post subject: Re: Codewarrior: am I compiling with debug on ? |
|
|
This is compiler-specific. I'd recommend codewarrior.windows. That and I
have no idea what you're talking about.
|
|
| Back to top |
|
 |
Søren Grønbech Guest
|
Posted: Mon Jun 30, 2003 9:41 am Post subject: Re: Codewarrior: am I compiling with debug on ? |
|
|
#if __ide_target("Debug Win32 x86")
printf("YO!!!n");
#endif
That worked ! (for Codewarrior Version 8 on Windows)
thanx
Søren
"Russell Hanneken" <rhanneken (AT) pobox (DOT) com> wrote
| Quote: | "Søren Grønbech" <sodan (AT) NOSPAMsodan (DOT) dk> wrote in message
news:3eff255b$0$24722$edfadb0f (AT) dread14 (DOT) news.tele.dk...
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 [url]http://www.slack.net/~shiva/welcome.txt)[/url].
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
[email]rhanneken (AT) pobox (DOT) com[/email]
|
|
|
| Back to top |
|
 |
|