Boost logo

Boost :

Subject: Re: [boost] [chrono] Valgrind complains
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-06-22 13:14:07


Roland Bock wrote:

> 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); }
>>>>
>>> Sorry, I don't find this line. Please could you tell me where
>>> do you find this line on the code?
>>>
>>
>> I presume he meant that if he puts such a line in his app, Valgrind complains.
>>
>>
> Right. That's sample code :-)

Then, you should provide the exact warning message from valgrind, including
the backtrace.

- Volodya


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