C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Codewarrior: am I compiling with debug on ?

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Søren Grønbech
Guest





PostPosted: Sun Jun 29, 2003 5:46 pm    Post subject: Codewarrior: am I compiling with debug on ? Reply with quote



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





PostPosted: Mon Jun 30, 2003 1:27 am    Post subject: Re: Codewarrior: am I compiling with debug on ? Reply with quote



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





PostPosted: Mon Jun 30, 2003 9:41 am    Post subject: Re: Codewarrior: am I compiling with debug on ? Reply with quote



#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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.