Boost.Chrono: thread clocks are not available on POSIX systems don't supporting threads as PGI
Test output:
Rev 67766 / Sat, 8 Jan 2011 07:38:17 +0000
Report Time: Sat, 8 Jan 2011 12:49:04 +0000
Compile [2011-01-08 10:21:34 UTC]: fail
"/sierra/Sntools/extras/compilers/pgi/linux86-64/10.1/bin/pgCC" -INLINE:none -Wc,-a --brief_diagnostics --error_limit1 --compress_names --diag_suppress450 --no_using_std --zc_eh -Kieee -fpic -gopt -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_USE_WINDOWS_H -Dneed_IOV_MAX -I".." -c -o "/scratch/boost/results/boost/bin.v2/libs/chrono/build/pgi-10.1/debug/threading-multi/thread_clock.o" "../libs/chrono/src/thread_clock.cpp"
"../boost/chrono/detail/inlined/posix/thread_clock.hpp", line 25 (col. 23): error: identifier "pthread_self" is undefined
Error limit reached.
1 error detected in the compilation of "../libs/chrono/src/thread_clock.cpp".
Compilation terminated.
TinyUrl