Boost logo

Boost Users :

Subject: Re: [Boost-users] [Thread] Interrupting a thread causes a segmentation fault
From: Marsh Ray (marsh_at_[hidden])
Date: 2011-02-17 15:24:48


On 02/16/2011 12:08 PM, W Frane wrote:
>
> The build log output from Code Blocks is:
>
> mingw32-g++.exe -Wall -fexceptions -g -I"C:\Program
> Files\boost\boost_1_45_0" -c "C:\Documents and Settings\WFrane\My
> Documents\C++ code\boost thread interrupt
> test\boost_thread_interrupt_test\main.cpp" -o obj\Debug\main.o
>
> mingw32-g++.exe -L"C:\Program Files\boost\boost_1_45_0\stage\lib" -o
> bin\Debug\boost_thread_interrupt_test.exe obj\Debug\main.o
> "C:\Program
> Files\boost\boost_1_45_0\stage\lib\libboost_thread-mgw44-mt-d-1_45.a"

Perhaps you need -mthreads?

- Marsh


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net