httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Schumann <>
Subject Re: [PATCH] cleanup warnings with --with-maintainer-mode
Date Wed, 21 Jun 2000 09:51:44 GMT
On Tue, 20 Jun 2000 wrote:

> I really don't know if this will work cross-platform, so I am posting here
> first.  I got a clean-ish compile on Linux and a very clean compile on
> FreeBSD, so I have a bit of hope.  Basically the problem is that with the
> new strchr and strrchr stuff on Linux, I get a lot of warnings like:
> In file included from /home/rbb/tempdir/apache-2.0/src/include/ap_cache.h:5,
>                  from ap_cache.c:1:
> /home/rbb/tempdir/apache-2.0/src/include/httpd.h:1053: warning: `strchr'
>    redefined
> /usr/include/bits/string2.h:376: warning: this is the location of the
>    previous definition
> This patch removes those warnings.  I am just not sure the patch is a good
> idea.
> Thoughts?  Is my machine the only one doing this?

    Glibc 2.1 uses inlined string functions (=macros) which
    causes the above warnings. Undefining those macros is fine
    and does not cause any problems.

    - Sascha

View raw message