[squid-dev] std::uniform_int_distribution not available on centos-6

Amos Jeffries squid3 at treenet.co.nz
Sun Aug 23 07:43:32 UTC 2015


On 23/08/2015 7:21 p.m., Kinkie wrote:
> Hi,
>   std::uniform_int_distribution is not available on any compiler in
> centos-6.
> We can either retire centos-6 or autoconf our way around the missing
> functionality.
> 
> RHEL6.7 is supported by RH through mid 2017; I suppose the best option is
> to autoconf :\

It already is autoconf-ing a definition based on
std::tr1::uniform_int_distribution which should be available and working
as far back as GCC 4.0.

Amos



More information about the squid-dev mailing list