Peter Dimov wrote:
No, it needs BOOST_DISABLE_THREADS; apparently BOOST_HAS_PTHREADS and BOOST_HAS_THREADS are still being defined, even in a "single threaded" build.
As was pointed out by Christoph, in the dev list, it seems to be a manifestation of this GCC problem: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953 Bug 11953 - _REENTRANT defined when compiling non-threaded code. So yes, adding "<define>BOOST_DISABLE_THREADS" is the way to do fix it if the interest is to use the single thread libraries. Of course if Patrik doesn't care about single threaded code he can just ignore the errors :-) -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org