Boost logo

Boost :

Subject: [boost] [test] Compilation errors on MinGW 4.8.1
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2014-06-10 16:59:56


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:

..\..\../boost/test/execution_monitor.hpp:364:27: error: 'FE_DIVBYZERO'
was not declared in this scope
      BOOST_FPE_DIVBYZERO = FE_DIVBYZERO,
                            ^
..\..\../boost/test/execution_monitor.hpp:365:27: error: 'FE_INEXACT'
was not declared in this scope
      BOOST_FPE_INEXACT = FE_INEXACT,
                            ^
..\..\../boost/test/execution_monitor.hpp:366:27: error: 'FE_INVALID'
was not declared in this scope
      BOOST_FPE_INVALID = FE_INVALID,
                            ^
..\..\../boost/test/execution_monitor.hpp:367:27: error: 'FE_OVERFLOW'
was not declared in this scope
      BOOST_FPE_OVERFLOW = FE_OVERFLOW,
                            ^
..\..\../boost/test/execution_monitor.hpp:368:27: error: 'FE_UNDERFLOW'
was not declared in this scope
      BOOST_FPE_UNDERFLOW = FE_UNDERFLOW,
                            ^
..\..\../boost/test/execution_monitor.hpp:370:27: error: 'FE_ALL_EXCEPT'
was not declared in this scope
      BOOST_FPE_ALL = FE_ALL_EXCEPT,
                            ^

When I use MinGW-GCC 4.8.0 shipped with Qt5 everything is ok.

I though I'll let you know since AFAIS this toolset isn't tested.
If you decided to take a look at this and needed a guinea pig I'd be here.

Regards,
Adam


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk