Re: [PATCH] size_t is guaranteed unsigned by standards

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 09 Jan 2011 14:08:05 +1300

On 09/01/11 05:55, Kinkie wrote:
> Hi all,
> C99 and C++ standards mandate size_t to be unsigned; the attached
> patch comments out a branch of code in compat/xstring.cc which tests
> for a size_t argument being<0. This is caught by icc as an error.
>

IIRC Squid-3 will not build on compilers older than gcc-3.something anyway.
So we can completely erase this whole piece of code.

+1 from me.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.10
   Beta testers wanted for 3.2.0.4
Received on Sun Jan 09 2011 - 01:08:14 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 11 2011 - 12:00:06 MST