Boost logo

Boost :

From: bill_kempf (williamkempf_at_[hidden])
Date: 2002-02-22 10:31:18


--- In boost_at_y..., "Gilles J. Seguin" <segg_at_i...> wrote:
> egorovv_at_y... wrote:
> >
> > I had to apply this parch to build current CVS tree under FreeBSD
> > and Linux :
>
> making typename explicit.
>
> /usr/h1/boost/boost/boost/thread/condition.hpp:95: warning:
`typename
> boost::detail::thread::lock_ops<M>::lock_state' is implicitly a
typename
> /usr/h1/boost/boost/boost/thread/condition.hpp:115: warning:
`typename
> boost::detail::thread::lock_ops<M>::lock_state' is implicitly a
typename
>
> --- boost/boost/thread/condition.hpp.old Fri Jan 25 23:02:22 2002
> +++ boost/boost/thread/condition.hpp Thu Feb 21 18:51:03 2002
> @@ -92,7 +92,7 @@
> #endif
>
> typedef typename detail::thread::lock_ops<M> lock_ops;
> - lock_ops::lock_state state;
> + typename lock_ops::lock_state state;
> lock_ops::unlock(mutex, state);
>
> #if defined(BOOST_HAS_PTHREADS)
> @@ -112,7 +112,7 @@
> #endif
>
> typedef typename detail::thread::lock_ops<M> lock_ops;
> - lock_ops::lock_state state;
> + typename lock_ops::lock_state state;
> lock_ops::unlock(mutex, state);
>
> bool ret = false;

Thanks. Fixed and will be checked into CVS shortly.

Bill


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