|
Boost : |
From: Johan Nilsson (johan.nilsson_at_[hidden])
Date: 2004-08-09 02:01:34
"Michael Glassford" <glassfordm_at_[hidden]> wrote in message
news:cf09qa$95v$1_at_sea.gmane.org...
> Johan Nilsson wrote:
>
> > Hi,
> >
> > I'm getting errors from the tss handling when compiling Boost.Thread
using
> > the DEC CXX 6.5 compiler (under OpenVMS). The compiler doesn't like the
fact
> > that a pointer to a function with C++ linkage is being passed to a
function
> > expecting a pointer to a function with "C" linkage. The function in
question
> > is when the address of "thread_specific_ptr<T>::cleanup" is used as an
> > argument to pthread_key_create (indirectly).
> >
> > I'm using Boost 1.31.0.
>
> [snipped suggested patch]
>
> I believe this has already been done. If you want to double-check, you
> can see the current version of tss.cpp here:
>
>
http://cvs.sourceforge.net/viewcvs.py/boost/boost/libs/thread/src/tss.cpp?view=markup
>
> and
>
>
http://cvs.sourceforge.net/viewcvs.py/boost/boost/boost/thread/tss.hpp?view=markup
>
> Mike
>
Thanks, it looks like it should be ok (can't test that version until
released). However the "const int" casts are still there in timeconv.inl.
// Johan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk