|
Boost : |
From: Alexander Dong Back Kim (alexdbkim_at_[hidden])
Date: 2008-08-12 23:11:23
On Wed, Aug 13, 2008 at 12:53 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
> AMDG
>
>
> Alexander Dong Back Kim wrote:
>
>> Dear all,
>>
>> I'm using GCC 3.4 on REHL machine. I used to use BOOST 1.32 until
>> yesterday
>> and upgraded to 1.35 last night and now I can't compile my project =(
>> I'm using boost thread library and it worked really well but doesn't work
>> at
>> all after the upgrading. The error message from g++ is...
>>
>> /usr/local/include/boost-1_35/boost/thread/pthread/timespec.hpp: In
>> function
>> `timespec boost::detail::get_timespec(const boost::system_time&)':
>> /usr/local/include/boost-1_35/boost/thread/pthread/timespec.hpp:18:
>> warning:
>> missing initializer for member `timespec::tv_nsec'
>> In file included from
>>
>> /usr/local/include/boost-1_35/boost/thread/pthread/condition_variable_fwd.hpp:12,
>>
>> I know this is just a warning but I wonder how I can clear this warning.
>> Any
>> suggestions are welcomed. Thanks =)
>>
>>
>
> This has been fixed in 1.36, which has
> struct timespec timeout={0,0};
> instead of
> struct timespec timeout={0};
>
> In Christ,
> Steven Watanabe
>
Thank you very much! so does it mean I need to upgrade boost again? is 1.36
stable by the way? I thought it's still in beta stage.
-- Alexander Dong Back Kim
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk