Boost logo

Boost :

Subject: [boost] [thread] compile errors on Sandia-intel-10.1/11.0/11.1
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2010-02-23 14:03:27


The error below is detected building a couple of Boost Exception tests
that use Boost Thread. Thanks Noel and Steven for helping diagnose the
problem.

"/opt/intel/Compiler/11.1/067/bin/intel64/icpc" -xc++ -w1 -O0 -g
-inline-level=0 -vec-report0 -DBOOST_ALL_NO_LIB=1
-DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -I".." -c -o
"/Volumes/Scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/intel-darwin-11.1/debug/link-static/threading-multi/pthread/thread.o"
"../libs/thread/src/pthread/thread.cpp"

../libs/thread/src/pthread/thread.cpp(385): error: identifier
"get_nprocs" is undefined
         return get_nprocs();
                ^

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk