You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ohad Lutzky <oh...@lutzky.net> on 2008/09/03 10:47:42 UTC

[flood] [patch] Compilation error fix

Hello,

We've been using flood for a project, and couldn't get revision 672044
to compile in gcc-4.2.3-2ubuntu7 without the attached patch. The error
we got was:

flood_round_robin.c: In function 'round_robin_profile_init':
flood_round_robin.c:910: error: lvalue required as left operand of assignment
flood_round_robin.c:920: error: lvalue required as left operand of assignment

-- 
Man is the only animal that laughs and weeps, for he is the only
animal that is struck with the difference between what things are and
what they ought to be.
 - William Hazlitt

Ohad Lutzky

Re: [flood] [patch] Compilation error fix

Posted by Guy Ferraiolo <gu...@cnet.com>.
This looks reasonable to me but I haven't had a chance to test it
myself.

Guy

On Wed, 2008-09-03 at 11:47 +0300, Ohad Lutzky wrote:
> Hello,
> 
> We've been using flood for a project, and couldn't get revision 672044
> to compile in gcc-4.2.3-2ubuntu7 without the attached patch. The error
> we got was:
> 
> flood_round_robin.c: In function 'round_robin_profile_init':
> flood_round_robin.c:910: error: lvalue required as left operand of assignment
> flood_round_robin.c:920: error: lvalue required as left operand of assignment
> 
-- 
Guy Ferraiolo                                   mailto:guy.ferraiolo@cbs.com
Monitoring and Performance Management           http://CNET.com
CBS Interactive                                 tel: 1.908.541.3739
1200 Route 22 East                              fax: 1.908.575.7474
Bridgewater, NJ 08807                           cel: 1.732.618.0250

Re: [flood] [patch] Compilation error fix

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On Wed, Sep 3, 2008 at 1:47 AM, Ohad Lutzky <oh...@lutzky.net> wrote:
> Hello,
>
> We've been using flood for a project, and couldn't get revision 672044
> to compile in gcc-4.2.3-2ubuntu7 without the attached patch. The error
> we got was:
>
> flood_round_robin.c: In function 'round_robin_profile_init':
> flood_round_robin.c:910: error: lvalue required as left operand of assignment
> flood_round_robin.c:920: error: lvalue required as left operand of assignment

Thanks!  Committed in r695998.  -- justin