id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3639,Boost.Thread doesn't build with Sun-5.9 on Linux,John Maddock,viboes,"I don't really know what the correct fix is here, but sun's Linux compiler fails with Boost.Thread (in trunk) on Ubuntu Linux with: ""../../../boost/thread/pthread/mutex.hpp"", line 142: Error: The function ""pthread_mutex_timedlock"" must have a prototype. ""../../../boost/thread/pthread/mutex.hpp"", line 142: Error: The function ""pthread_mutex_timedlock"" must have a prototype. Which is pretty annoying when you're trying to test code that depends on Boost.Thread! It seems that _POSIX_TIMEOUTS is defined, but pthread.h still isn't defining pthread_mutex_timedlock, which is guarded by __USE_XOPEN2K which is *not* set :-( John.",Bugs,closed,Boost 1.49.0,thread,Boost Development Trunk,Problem,fixed,,viboes