Boost logo

Boost :

Subject: Re: [boost] [chrono] Valgrind complains
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-06-22 12:32:28


----- Original Message -----
From: "Roland Bock" <rbock_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, June 22, 2010 5:34 PM
Subject: Re: [boost] [chrono] Valgrind complains

>
> Stewart, Robert wrote:
>> vicente.botet wrote:
>>
>>> From: "Roland Bock" <rbock_at_[hidden]>
>>>
>>>> Valgrind complains about
>>>>
>>>> Conditional jump or move depends on uninitialised value(s)
>>>>
>>>>
>>>> several times for the following line:
>>>>
>>>> { boost::chrono::stopclock<> stopclock(std::cerr); }
>>>>

Could you check if Valgrind complains with

{ boost::chrono::stopclock<> stopclock; }
or
{ boost::chrono::stopclock<> stopclock(BOOST_CURRENT_FUNCTION); }
or
{ boost::system::error_code ec;
boost::chrono::stopclock<> stopclock(std::cerr, ec); }

Thanks,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk