Re: preprocessor

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> 
> Tone Škoda wrote:
> > 
> > I have a lot of "assert()" and "if Debug" statements in my code, for
> > debugging. They
> > catch a lot of bugs. But I'm sometimes affraid they'll slow my code down. So
> > I would
> > like to have preprocessor which would comment out these debug lines.
> 
> I have something that can do this. I'm still documenting it but it works.



I'm not sure I'm willing to use a preprocessor only for removing debug
statements. Using preprocessor is too much trouble. If I would go into troubule
of using preprocessor then it would have to be very good.

But I would like to see your preprocessor.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu