I've first reported a bug to boost that
boost/thread.hpp doesn't compile:
but I was pointed that it's actually a bug in MinGW -
intrin.h header doesn't compile with 32-bit GCC 4.8.2 and with
(I've tried two builds - from MSYS2 pacman package and from mingw-builds).
It can be reproduced by with one-line test.cpp: