You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Guy Ferraiolo <gu...@cnet.com> on 2008/04/18 00:24:14 UTC

patch for flood to deal with gcc 4

Folks

Here's the patch to get this to compile correctly with gcc 4.  It's
actually only 3 lines.  This has been tested with the following
versions:

gcc version 3.4.6 20060404 (Red Hat 3.4.6-8), (RHEL4 32-bit)
gcc version 4.1.1 20070105 (Red Hat 4.1.1-52) (RHEL4 64-bit)

Thanks,

Guy


-- 
Guy Ferraiolo                                   mailto:guyf@CNET.com
Performance Measurement & Analysis              http://CNET.com
CNET                                            tel: 1.908.541.3739
1200 Route 22 East                              fax: 1.908.575.7474
Bridgewater, NJ 08807                           cel: 1.732.618.0250

Re: patch for flood to deal with gcc 4

Posted by Oden Eriksson <oe...@mandriva.com>.
Den Friday 18 April 2008 17.49.29 skrev Guy Ferraiolo:
> I believe the other warnings are from the code prior to my patch.  I was
> somewhat shy about altering other people's code as a newbie.  The fixes
> would be easy, anyone could do them.  I felt responsible for my new code
> which others might not want to mess with.
>
> Guy
>
> On Fri, 2008-04-18 at 09:24 +0200, Oden Eriksson wrote:
> > Den Friday 18 April 2008 00.24.14 skrev Guy Ferraiolo:
> > > Folks
> > >
> > > Here's the patch to get this to compile correctly with gcc 4.  It's
> > > actually only 3 lines.  This has been tested with the following
> > > versions:
> > >
> > > gcc version 3.4.6 20060404 (Red Hat 3.4.6-8), (RHEL4 32-bit)
> > > gcc version 4.1.1 20070105 (Red Hat 4.1.1-52) (RHEL4 64-bit)
> >
> > Works, thanks.
> >
> > There is still some warnings though:
> >
> > http://pastebin.se/194251


I understood that, thanks man. I merely wanted to make the person maintaining 
the code aware.


-- 
Regards // Oden Eriksson


Re: patch for flood to deal with gcc 4

Posted by Guy Ferraiolo <gu...@cnet.com>.
I believe the other warnings are from the code prior to my patch.  I was
somewhat shy about altering other people's code as a newbie.  The fixes
would be easy, anyone could do them.  I felt responsible for my new code
which others might not want to mess with.

Guy

On Fri, 2008-04-18 at 09:24 +0200, Oden Eriksson wrote:
> Den Friday 18 April 2008 00.24.14 skrev Guy Ferraiolo:
> > Folks
> >
> > Here's the patch to get this to compile correctly with gcc 4.  It's
> > actually only 3 lines.  This has been tested with the following
> > versions:
> >
> > gcc version 3.4.6 20060404 (Red Hat 3.4.6-8), (RHEL4 32-bit)
> > gcc version 4.1.1 20070105 (Red Hat 4.1.1-52) (RHEL4 64-bit)
> 
> Works, thanks.
> 
> There is still some warnings though:
> 
> http://pastebin.se/194251
> 
> 
-- 
Guy Ferraiolo                                   mailto:guyf@CNET.com
Performance Measurement & Analysis              http://CNET.com
CNET                                            tel: 1.908.541.3739
1200 Route 22 East                              fax: 1.908.575.7474
Bridgewater, NJ 08807                           cel: 1.732.618.0250

Re: patch for flood to deal with gcc 4

Posted by Oden Eriksson <oe...@mandriva.com>.
Den Friday 18 April 2008 00.24.14 skrev Guy Ferraiolo:
> Folks
>
> Here's the patch to get this to compile correctly with gcc 4.  It's
> actually only 3 lines.  This has been tested with the following
> versions:
>
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-8), (RHEL4 32-bit)
> gcc version 4.1.1 20070105 (Red Hat 4.1.1-52) (RHEL4 64-bit)

Works, thanks.

There is still some warnings though:

http://pastebin.se/194251


-- 
Regards // Oden Eriksson