From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-08-06 10:57:53
Johan Nilsson wrote:
> 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:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk