Boost logo

Boost :

Subject: [boost] [thread] fails to build on Cygwin with weird errors
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-14 22:22:45


I'm trying to get the pool tests up and running (they fail across the board,
at least on develop), and one of them requires Thread, which fails to build
under g++/Cygwin.

The errors are of the kind

..\..\..\libs\thread\src\win32\thread.cpp: In member function 'bool
..\..\..\libs\thread\src\win32\thread.cpp:337:127: error: 'struct
boost::detail::thread_data_base' has no member named 'id'
         uintptr_t const

which leads me to think that, on Cygwin, you're using the POSIX header with
the Win32 source file.

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