Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-22 15:38:25


"Chris S" <chrisks_at_[hidden]> writes:

> It seems my problem was embarrassingly simple. I forgot to give mingw
> the -mthreads switch. Everything seems to run smoothly now. In my defense, I
> checked mingw.org for the appropriate documentation regarding threads but
> didn't find any info on its command line switches.

This is one reason to use Boost.Build. In v2, library specifications
can include what are known as "propagated attributes". In other
words, you will have threads enabled automatically just by virtue of
linking with Boost.Threads.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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