This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Standard scheme for maintainer-only debugging code?
- From: Andrew Haley <aph at redhat dot com>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: bosch at gnat dot com, gcc at gcc dot gnu dot org
- Date: Tue, 10 Jun 2003 20:36:46 +0100
- Subject: Re: Standard scheme for maintainer-only debugging code?
- References: <20030610192730.GA6638@doctormoo>
I'd be very careful with this. Whetever we decide, we surely must not
do anything that might dissuade developers from leaving in place code
that will aid a future maintainer. Even if such code is bit-rotted
and needs fixing it can still be enormously helpful. However,
develeopers don't want to bloat the compiler with all their debugging
stuff.
#ifdef DEBUG_BARF code has saved my tail more than once.
Andrew.