Re: [squid-users] Build Fail for 3.1.4 on IBM PowerPC64

From: Silamael <Silamael_at_coronamundi.de>
Date: Sat, 19 Jun 2010 11:30:37 +0200

On 06/18/2010 08:27 PM, Steve wrote:
> Hi
> I am getting a compile error with 3.1.4 on IBM Power ppc64 running Red Hat
> Enterprise Linux AS release 4 (Nahant Update 8).
> The error is :-
> mem.cc: In function `void memConfigure()':
> mem.cc:359: warning: converting of negative value `-0x00000000000000001' to
> `size_t'
>
> src/mem.cc has a change from 3.1.3 from
>> new_pool_limit = mem_unlimited_size;
> To
> < new_pool_limit = -1;
> which seems to be the problem.
> Compiler is gcc version 3.4.6 20060404 (Red Hat 3.4.6-11).
> Thanks
> Steve
>

Hi Steve,

That's a typo. new_pool_limit shoul be a ssize_t. I think i sent already
some patch.
Seems that our older c++ compiler are more picky about types than the
newer versions ;)

Greetings,
Matthias
Received on Sat Jun 19 2010 - 09:30:41 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 22 2010 - 12:00:03 MDT