[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Rationalize --enable-debug and --enable-maintainer-mode

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-03-23 03:17:19 CET

Peter Lundblad wrote:
> Hi,
>
> the current situation regarding --enable-debug and
> --enable-maintainer-mode is a little confusing.
>
> --enable-debug enables compiler debugging, but not the SVN_DEBUG and
> AP_DEBUG macros. OTOH, --enable-maintainer-mode does the latter,
> but does not enable compiler debugging, although it pretends to do
> so by setting an internal variable, but too late... Uh...
> I'm not sure if we need two options here, but it might be good to
> leave --enable-debug to not cause problems for people with automated
> builds. Also, --disable-debug can be used to disable debugging
> information.
>
> Anyway, any objections to this patch that tries to make this a little
> less confusing?

While we're here, is there any reason why --enable-maintainer-mode doesn't
turn off compiler optimization? Seems unnecessarily difficult to "maintain"
code that's nearly impossible to step through in a debugger.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Fri Mar 23 03:17:34 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.