On Thu, Jun 12, 2014 at 11:08 PM, Andrey Semashev
On Wed, Jun 11, 2014 at 11:24 AM, Andrey Semashev
wrote: On Wednesday 11 June 2014 08:12:58 Jürgen Hunold wrote:
Hi Adam,
Am Dienstag, 10. Juni 2014, 22:59:56 schrieb Adam Wulkiewicz:
Hi,
When I try to compile Boost.Test (develop) tests or any other tests
using execution_monitor on MinGW-GCC 4.8.1 I get the following errors:
There is legacy MinGW (the one that generates 32-bit binaries) and MinGW-w64. The problem is with the former one, I've seen it too. I think inclusion of fenv.h gets messed up somehow, I didn't dig much further. It's possible that it's a bug in MinGW.
Yes, this looks like a bug in MinGW. Including
leads to inclusion of "C:\MinGW\lib\gcc\mingw32\4.8.1\include\c++\fenv.h" which has this code: #include
#if _GLIBCXX_HAVE_FENV_H # include_next #endif and
doesn't define _GLIBCXX_HAVE_FENV_H macro (it's commented). I defined the macro in my local c++config.h and it solved the problem. I wonder if we should try to work around it in boost/detail/fenv.hpp.
I've added a workaround for this. Let me know if it causes trouble.