Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2003-12-10 08:13:07

Bugs item #857547, was opened at 2003-12-10 14:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Troels Arvin (tarvin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Threads not detected in mingw build

Initial Comment:
Using boost on Windows 2000 with the mingw compiler.
Compiling like this works fine:
bjam -sTOOLS=mingw

I copy the threaded release-dlls to a relevant place and
start using Boost.Thread. My code (which uses
Boost.Thread) works fine on Linux. When compiling with
mingw, I get a lot of lines like this:

In file included from headers/Position.h:10, from
C:/boost/boost/thread/thread.hpp:17:5: #error Thread
support is unavailable!

Tested with Boost 1.30.2 and latest CVS as of December
9 2003.

If I compile with

Then I get some warnings about the above constants
being redefined, but things work fine.

I believe that mingw is not recognized as a platform
supporting native win32 threads, which is an error, as
far as I know.

By the way: I tried running "configure" with
BOOST_HAS_WINTHREADS=1 as described on but
that didn't help.


You can respond by visiting:

This email is sponsored by: Giveback Program.
Does help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here:
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at