[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: Greg Stein <gstein_at_lyra.org>
Date: 2003-06-17 11:53:41 CEST

I took Ryan's advice and changed the parameter to 'expected' in the Apache
httpd 2.0.x and 2.1.x branches. So the next httpd release should have it
cleared up.

Cheers,
-g

On Mon, Jun 16, 2003 at 02:41:58PM -0700, rbb@rkbloom.net wrote:
>
> 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

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 17 11:50:28 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.