Boost logo

Boost :

Subject: Re: [boost] [wave] trace doesn't output errors.
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-05-06 14:08:40

On 5/6/2013 1:53 PM, Adrian_H wrote:
> I've got a really annoying and difficult to track down PP error. I'm
> attempting to use wave to see the expansion, but it is slow going. The
> output is correct, in both the g++ PP and the wave parser. g++ states:
> *error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1
> given*, wave states *warning: too few macro arguments:
> BOOST_PP_SEQ_ELEM_III*, but when I try using the tracer it doesn't say when
> this occurs.
> Is it possible to turn this on? Or is there no 'on' and I have to go into
> the wave code and code it on? If the latter, where would I do this?

You should be able to look at wave's output and see exactly the sequence
of macro expansions which cause the error you are seeing.

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