Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Codewarrior: am I compiling with debug on ?

Reply
Thread Tools

Codewarrior: am I compiling with debug on ?

 
 
Søren Grønbech
Guest
Posts: n/a
 
      06-29-2003
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


 
Reply With Quote
 
 
 
 
MiniDisc_2k2
Guest
Posts: n/a
 
      06-30-2003
This is compiler-specific. I'd recommend codewarrior.windows. That and I
have no idea what you're talking about.


 
Reply With Quote
 
 
 
 
Søren Grønbech
Guest
Posts: n/a
 
      06-30-2003
#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
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Cross-compiling error when compiling 2.6.1... Garrett Cooper Python 0 02-24-2009 09:47 PM
Cross-compiling error when compiling 2.6.1... Garrett Cooper Python 0 02-24-2009 08:55 PM
Compiling when libedit is in path Is there a trick to compiling Ruby when libedit must exist in the search path? Can you statically link to readline 5.0 in some manner? -- Lon Baker Lon Baker Ruby 1 03-21-2005 08:57 AM
[Howto] Compiling debug Python extensions for non-debug Python Mike C. Fletcher Python 3 10-12-2003 09:37 PM
Re: Performance considerations of compiling in debug mode, then NOT deploying the PDB file Steve C. Orr, MCSD ASP .Net 3 08-21-2003 01:29 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57