i have some problem with my boost library. i m using freebsd and installed my boost using ports. Boost version is : 1.45 and i use g++47 as compiler. Also i have never defin
See the ticket 6165 mentioned above by Joachim:
To define 'threads' support,
_GLIBCXX__PTHREADS
_GLIBCXX_HAS_GTHREADS
.Another problem that could also prevent Boost on working with modern compiler is ticket 6940 (TIME_UTC
has a special meanhing in C11, therefore Boost >= 1.50 use TIME_UTC_
instead)
The experimental GCC version 4.7 disables Boost.Threads. See: https://svn.boost.org/trac/boost/ticket/6165
Edit: It should be noted that as of the release version of GCC 4.7, and Boost higher than 1.48 (Boost_1_48_0 is still not working), threads works again.