Opened 7 years ago

Last modified 7 years ago

#11863 new Bugs

Compilation failure when trying to use Boost Test

Reported by: gordon@… 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 Gennadiy Rozental, 7 years ago

As I mentioned in other place, this is not a Boost.Test issue. Please reassign the ticket to MPL library developers

comment:2 by anonymous, 7 years ago

Component: testmpl
Owner: changed from Gennadiy Rozental to Aleksey Gurtovoy

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 Vaclav Slavik <vaclav@…>, 7 years ago

Note: See TracTickets for help on using tickets.