Subject: Re: [boost] [log] unspecified error when going from win7 to xp
From: Christoph Heindl (christoph.heindl_at_[hidden])
Date: 2010-05-28 03:44:12
On Thu, May 27, 2010 at 9:50 PM, Andrey Semashev
> What version of the library do you use? Is it used in a context when its
> binary is dynamically loaded? If so, try disabling compiler-supplied TLS by
> defining BOOST_LOG_NO_COMPILER_TLS.
I'm using rev479, since it is the last one compatible with boost
1.40.0. I recompiled the library using BOOST_LOG_NO_COMPILER_TLS today
and it solves my problem indeed! I've read about the define but
considered it irrelevant for my case until now: PInvoke on .NET uses
Still interesting that error did not occur on Windows7.
Thanks for your help, I greatly appreciated it!
> BTW, are the BOOST_LOG_FUNCTION/BOOST_LOG_NAMED_SCOPE macros only used from
> pure C++ code?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk