Codewarrior: am I compiling with debug on ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Søren Grønbech

    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(peepho le)

    Is there a way to see if we are compiling with debug turned on?

    thanx,
    Søren


  • MiniDisc_2k2

    #2
    Re: Codewarrior: am I compiling with debug on ?

    This is compiler-specific. I'd recommend codewarrior.win dows. That and I
    have no idea what you're talking about.


    Comment

    • Søren Grønbech

      #3
      Re: Codewarrior: am I compiling with debug on ?

      #if __ide_target("D ebug Win32 x86")
      printf("YO!!!\n ");
      #endif


      That worked ! (for Codewarrior Version 8 on Windows)

      thanx
      Søren




      "Russell Hanneken" <rhanneken@pobo x.com> wrote in message
      news:n0ILa.1223 $_c1.1148@newsr ead3.news.pas.e arthlink.net...[color=blue]
      > "Søren Grønbech" <sodan@NOSPAMso dan.dk> wrote in message
      > news:3eff255b$0 $24722$edfadb0f @dread14.news.t ele.dk...[color=green]
      > > 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(peepho le)
      > >
      > > Is there a way to see if we are compiling with debug turned on?[/color]
      >
      > Ask this on codewarrior.win dows. 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
      > rhanneken@pobox .com
      >
      >
      >[/color]


      Comment

      Working...