Boost logo

Boost :

Subject: Re: [boost] [test] Bug in Mingw support?
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-07-06 18:29:36

On 7/6/2015 1:32 PM, John Maddock wrote:
> The short program below passes with MSVC and GCC Linux, but fails with
> Mingw-x64 at runtime (the expected failures count gets ignored).
> This is with current develop. Any ideas?
> BTW the new decorator based approach does work OK, but is only supported
> on a tiny number of compilers as it seems to rely on the preprocessor
> lib using variadic macros, as opposed to Boost.Config marking them as
> available.

Without wishing to defend or disagree with Paul Mensonides' decision to
make Boost PP not depend on Boost config and to use a fairly
conservative test for variadic macro support in Boost PP, Boost.Test
could do:

#include <boost/config.h>

before including any Boost PP headers to let config determine variadic
macro support.

> Here's the program:
> #include <boost/test/unit_test.hpp>
> {
> BOOST_ERROR("one");
> BOOST_ERROR("two");
> }

Boost list run by bdawes at, gregod at, cpdaniel at, john at