httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <>
Subject Re: cvs commit: httpd-2.0/modules/dav/main util.c
Date Tue, 01 May 2001 20:53:09 GMT
On Tue, May 01, 2001 at 03:07:15PM -0400, Jeff Trawick wrote:
> Greg Stein <> writes:
> > Hrm. I've got "maintainer mode" set on my Apache config, but didn't see that
> > warning from GCC. What warning switches do you use, and could we get some of
> > them set for maintainer mode also? I'm all up for stricter GCC warnings.
> nothing special...
> --enable-maintainer-mode
> here is what it the compile and warning looked like on AIX+gcc:
> /bin/sh /home/trawick/gcc_regress/httpd-2.0/libtool --silent
> --mode=compile gcc   -D_USE_IRS -U__STR__ -D_THREAD_SAFE   -g -O2
> -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
> -I. -I/home/trawick/gcc_regress/httpd-2.0/os/unix
> -I/home/trawick/gcc_regress/httpd-2.0/server/mpm/threaded
> -I/home/trawick/gcc_regress/httpd-2.0/modules/http
> -I/home/trawick/gcc_regress/httpd-2.0/include
> -I/home/trawick/gcc_regress/httpd-2.0/srclib/apr/include
> -I/home/trawick/gcc_regress/httpd-2.0/srclib/apr-util/include
> -I/home/trawick/gcc_regress/httpd-2.0/modules/dav/main -c util.c &&
> touch util.lo
> util.c: In function `dav_xml_get_cdata':
> util.c:337: warning: `found_text' might be used uninitialized in this function
> You didn't get bit by the change from --with-maintainer-mode to
> --enable-maintainer-mode, did you?

Nope... I was the one that applied that patch :-)

I've got egcs-2.91.66 on a Redhat 6.x box. I just looked at the command
line, and it appears to be the same:

[gstein@kurgan main]$ make util.lo
/bin/sh /home/gstein/src/httpd-2.0/libtool --silent --mode=compile gcc  -I.
-I/home/gstein/src/httpd-2.0/os/unix   -DLINUX=2 -D_REENTRANT -D_REENTRANT
-pthread -g -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -DAP_DEBUG  -c util.c && touch util.lo
[gstein@kurgan main]$

Must be something in the gcc version, I'd think.


Greg Stein,

View raw message