Maybe it's because in solutionB I have delaration of tls (in other way I
have problem with building solution:
file.obj : error LNK2001: unresolved external symbol "public: static class
boost::thread_specific_ptrclassnamespace::CClass
namespace::CThreadLocalStorageSlot::ThreadLocalStorage_"
(?ThreadLocalStorage_@CThreadLocalStorageSlot@tnamespace@
@2V?$thread_specific_ptr@VCThread@namespace@@@boost@@A)
)
2015-04-29 15:18 GMT+02:00 Andrey Semashev
On Wed, Apr 29, 2015 at 4:13 PM, Fu ji
wrote: Tls is in header in SolutionC.
If that header is #included in SolutionB somewhere and TLS is defined in that header (e.g. with the static keyword, like in your initial post) then that variable is again duplicated in both solutions.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost