Boost logo

Boost :

Subject: Re: [boost] [test] compile-fail tests with precise output
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-10-07 17:39:50


AMDG

Jean-Louis Leroy wrote:
> I would like to create tests that check, not only that a file will not
> compile, but that the errors contain specific strings. More precisely,
> I want to make sure that wrong code fails on a MPL assertion and not
> deep inside the template instantiations.
>
> Is that feasible?

Currently, there is no way to do this. I don't
know of a way to capture the output of the
compiler.

In Christ,
Steven Watanabe


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