[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Aw: Re: Re: Inline `ifdef style` debugging
From: |
pjodrr |
Subject: |
Aw: Re: Re: Inline `ifdef style` debugging |
Date: |
Thu, 11 Aug 2011 05:47:14 -0700 (PDT) |
User-agent: |
G2/1.0 |
Am Donnerstag, 11. August 2011 12:40:24 UTC+2 schrieb Roger:
> Just a quick response here, "ifdef style" is C code not compiled into the
> compiled program if it is not defined or chosen to be enabled. This in turn,
> prevents the CPU from wasting cycles testing if/then statements, etc...
yes, I understood that, you want some kind of preprocessing. With the
given examples the test for $DEBUG is done only once in the runtime of
the script. If you want to avoid that as well, you need two different
scripts, one with debugging enabled and one without. These scripts
can be the result of a preprocessing of course.
regards
- Re: Inline `ifdef style` debugging, (continued)
- Message not available
- Aw: Re: Inline `ifdef style` debugging, pjodrr, 2011/08/11
- Re: Re: Inline `ifdef style` debugging, Roger, 2011/08/11
- Re: Re: Inline `ifdef style` debugging, Greg Wooledge, 2011/08/11
- Re: Re: Inline `ifdef style` debugging, Roger, 2011/08/11
- Re: Re: Inline `ifdef style` debugging, Greg Wooledge, 2011/08/11
- Message not available
- Aw: Re: Re: Inline `ifdef style` debugging, pjodrr, 2011/08/11
- Message not available
- Aw: Re: Re: Inline `ifdef style` debugging,
pjodrr <=