Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-18 16:28:17


Doug Gregor wrote:
> On Mar 17, 2005, at 8:38 PM, Peter Dimov wrote:
>> Now is the time to test the new implementation; please report any
>> errors you encounter. Some of you have posted patches against the old
>> implementation; these will need to be reexamined, too.
>
> Some warnings popped up on Mac OS X:
>
> /u/dgregor/Projects/boost/boost/detail/sp_counted_base_pt.hpp: In
> member function `long int
> boost::detail::sp_counted_base::use_count()
> const':
> /u/dgregor/Projects/boost/boost/detail/sp_counted_base_pt.hpp:123:
> warning: invalid
> conversion from `const pthread_mutex_t*' to `pthread_mutex_t*'
> /u/dgregor/Projects/boost/boost/detail/sp_counted_base_pt.hpp:125:
> warning: invalid
> conversion from `const pthread_mutex_t*' to `pthread_mutex_t*'

Ah yes, I forgot to make the mutex mutable. Thanks Doug.


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