Joshua Boyce schreef op zo 15-01-2012 om 09:00 [+1100]: > Not sure how much of a hack this is, but I have fixed the problem by > adding the following to my b2 command line: > define=BOOST_USE_WINDOWS_H define=_GLIBCXX_HAVE_GTHR_DEFAULT > > > The former fixes problems with the interlocked APIs not being found, > and the latter fixes BOOST_DISABLE_THREADS being incorrectly defined. > > > A quick skim through the Boost bug tracker indicates that the > threading problems with GCC 4.7 is a known issue, however it is yet to > be resolved. Perhaps someone more knowledgeable in the workings of > libstdc++ could provide a patch compatible with MinGW-w64? > The Fedora package maintainer of mingw32-boost, Thomas Sailer, just applied some patches to make boost work with gcc 4.7. Perhaps they may be of interest to you. The patches can be found at http://pkgs.fedoraproject.org/gitweb/?p=mingw32-boost.git
Kind regards, Erik van Pienbroek ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
