Boost logo

Boost :

From: Alexander Dong Back Kim (alexdbkim_at_[hidden])
Date: 2008-09-01 09:53:55


On Mon, Sep 1, 2008 at 6:18 PM, John Maddock <john_at_[hidden]> wrote:

> Alexander Dong Back Kim wrote:
>
>> Dear members,
>>
>> I wrote an application using boost thread. It compiled well with GCC
>> 3.4 but
>> not with 3.2. I'm using Boost version 1.35.
>>
>> When I compile the application it shows the following error
>> messages...
>>
>
> Please follow the instructions in the error messages and turn on threading
> support in the compiler by specifying the appropriate compiler flags: for
> example by compiling with -pthread if you're on Linux (these command line
> options also work for later gcc versions, but don't really have any
> noticable effect).
>

After using -pthread for g++, all the error messages were magically
disappered! I thought I have to use -pthread for boost compile option. Shame
on my silliness. =( Thanks for your advice!

regards,
Alex Kim


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