
They lie :) Seriously though, have hit this problem at various times, definitely with more recent versions of gcc than 4.0.4 on Linux x86 32-bit and 64-bit; suppose I might need to chase this one down more thoroughly at some point. On Thu, Aug 4, 2011 at 2:39 AM, <Viatcheslav.Sysoltsev@h-d-gmbh.de> wrote:
On Thu, 04 Aug 2011 01:55:07 +0200, Oliver Seiler <oseiler@acm.org> wrote:
I'm guessing that is dependent on the version of gcc; I've hit this problem with gcc on Linux, on various versions up to and including gcc 4.1.something. Do you know when specifically this was fixed in gcc?
Its a gcc feature, not something to be fixed ;) I found in http://gcc.gnu.org/gcc-4.0/changes.html, which describes new changes for gcc 4.0.4: "The compiler now uses the library interface specified by the C++ ABI for thread-safe initialization of function-scope static variables." Apparently the support is already in 4.0.4, earlier it might be there as well, but maybe in some unsatisfying way.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users