Boost logo

Boost :

Subject: Re: [boost] [Boost.Thread] Patch for Intel on Darwin
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-05-17 04:22:40


"Belcourt, Kenneth" <kbelco_at_[hidden]> writes:

> The thread library is failing to build with Intel on Darwin with this
> error.
>
> ../libs/thread/src/pthread/thread.cpp(385): error: identifier
> "get_nprocs" is undefined
> return get_nprocs();
> ^
>
> The fix is to test for Apple and Intel before the GNU test.

Fixed on trunk.

Anthony

-- 
Author of C++ Concurrency in Action     http://www.stdthread.co.uk/book/
just::thread C++0x thread library             http://www.stdthread.co.uk
Just Software Solutions Ltd       http://www.justsoftwaresolutions.co.uk
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

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