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

Re: gcc 3.3 warnings

From: <rbb_at_rkbloom.net>
Date: 2003-06-16 23:41:58 CEST

I took a quick look at httpd.h on line 1456, because imagine Apache
needing exp. It is an argument to ap_strcmp_match. It would be
incredibly painless to change that to expected.

Ryan

On Mon, 16 Jun 2003, Philip Martin wrote:

> Blair Zajac <blair@orcaware.com> writes:
>
> > In file included from subversion/mod_dav_svn/activity.c:21:
> > /opt/i386-linux/installed/apache-2.1-cvs-2003061600/include/httpd.h:1456: warnin
> > g: declaration of `exp' shadows a global declaration
> > <built-in>:0: warning: shadowed declaration is here
>
> Whether gcc should issue the warning when math.h has not been included
> is debatable. Whether apache should use names that match those in the
> standard C library is also debatable.
>
> > Maybe this has something to do with the -std=c89 option.
>
> I don't think so. Adding -fno-builtin-exp will disable gcc's builtin
> exp and make the warning go away, but it would probably be better for
> Apache to change httpd.h. The apache list would be the place to
> discuss that.
>
> --
> Philip Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 16 23:31:42 2003

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.