|
Boost : |
Subject: Re: [boost] [thread] r62122 fix for #3178 introduces duplicate symbol
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-05-26 02:49:14
Lars Viklund <zao_at_[hidden]> writes:
> Hi list.
>
> In trunk, revision 62122 (which fixes a negative sleeping time bug
> #3178) added a detail helper function pin_to_zero at
> boost/thread/win32/thread_data.hpp:148, which isn't marked inline.
> This leads to multiple symbol definitions for anything that tries to
> link to Boost.Thread.
>
> The fix is trivial, just add an inline.
Oops. Fixed on trunk.
Anthony
-- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk