Boost logo

Boost :

From: Chuck Allison (cda_at_[hidden])
Date: 2002-06-11 21:23:56


> >After all this time, I'm finally getting around to using Boost for the
first
> >time. My initial interest is in Boost.Threads (Bruce Eckel and I would
like
> >to use it in Volume 2 of Thinking in C++). I configured Boost for Borland
> >and tried to do Bill's sample program in Listing 2 of his May CUJ article
> >(page 10). Everything compiles, but I get an unresolved symbol error for
> >"__beginthreadex", which actually sounds like a Microsoft name to me,
hence
> >my puzzlement. What exactly do I need to link with, besides the thread
> >library itself? Thanks.
>
> You have to tell the Borland compiler that you're building a
multi-threaded
> program:
>
> -tWM

Duh. Never did threads with Borland. Thanks, Pete.


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