Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-08-12 22:53:33


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


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