On 1/31/2011 3:39 PM, Jeff Trawick wrote: > On Mon, Jan 31, 2011 at 3:28 PM, <[email protected]> wrote: >> Author: jim >> Date: Mon Jan 31 20:28:52 2011 >> New Revision: 1065748 >> >> --- httpd/httpd/trunk/configure.in (original) >> +++ httpd/httpd/trunk/configure.in Mon Jan 31 20:28:52 2011 >> @@ -529,7 +529,7 @@ AC_ARG_ENABLE(maintainer-mode,APACHE_HEL >> [ >> APR_ADDTO(CPPFLAGS, -DAP_DEBUG) >> if test "$GCC" = "yes"; then >> - APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes >> -Wmissing-declarations -Wpointer-arith]) >> + APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes >> -Wmissing-declarations -Wpointer-arith -O0]) >> AC_CACHE_CHECK([whether gcc accepts -Wdeclaration-after-statement], >> [ap_cv_cc_Wdas], [ >> save_CFLAGS=$CFLAGS >> CFLAGS="$CFLAGS -Wdeclaration-after-statement" > > an accidental commit, I hope
Hoping as well :) Love the idea of the --debugging mode, that will be very helpful, but there are far too many things the compiler can only detect with optimizations enabled, and for maintainer mode, the optimized-yet-debuggable build is what we want.
