
On Thu, 2007-12-20 at 16:07 -0800, Allen wrote:
Hi, Doug,
I just following the message showing on boost.org: ----------- December 19, 2007 - Cricial Bug in Function Library
* Boost.Function in Boost 1.34.x has a bug that affects the construction of Boost.Function objects in a multi-threaded context. The problem has been fixed in the Boost trunk and for the upcoming Boost 1.35.x. To patch your Boost 1.34.x, copy the files function_base.hpp and function_template.hpp into the Boost directory boost/function. -----------
and copied the function_base.hpp and function_template.hpp from the trunk and overwrite my boost 1.34.1, when I tried to compile it, it gives lots of errors, let me copy some of them, I am wondering how to solve it(I am using visual studio 2005):
Thanks for reporting this. There is an updated function_base.hpp at that same location, which properly includes the <functional> header. - Doug