Opened 7 years ago
Last modified 7 years ago
#11863 new Bugs
Compilation failure when trying to use Boost Test
Reported by: | Owned by: | Aleksey Gurtovoy | |
---|---|---|---|
Milestone: | To Be Determined | Component: | mpl |
Version: | Boost 1.60.0 | Severity: | Showstopper |
Keywords: | compilation failure | Cc: |
Description
I have a program that uses Boost Test. It works under Boost 1.59.0. Under Boost 1.60.0 and Mac OS X I get compilation errors in mp_defer.hpp, which is ultimately included from boost/test/unit_test.hpp.
The first compilation error is in line 28 of mp_defer.hpp
static boost::true_type check(int);
The error caret is at the start of "check" and the message is:
Expected member name or ';' after declaration specifiers.
The compiler is Apple LLVM 7.0 and the C++ dialect is C++14.
I have not submitted a ticket to Boost before - apologies if I have missed something obvious.
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Component: | test → mpl |
---|---|
Owner: | changed from | to
I am the OP - thank you for this. As always for me, when I compiled the Boost libraries I got messages of the sort "skipping optional Message Passing Interface (MPI) library", but this has never been a problem before, and I didn't see any indication that this was an MPI problem. Re-assigning the ticket to MPI.
comment:3 by , 7 years ago
Also discussed in #11897 and fixed on the develop branch here: https://github.com/boostorg/type_traits/commit/f80cbb0dad16f974815a4ad8208f056ec58c9efc
As I mentioned in other place, this is not a Boost.Test issue. Please reassign the ticket to MPL library developers