Boost logo

Boost Testing :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-03-11 04:52:54


David Abrahams writes:
> Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:
> >>>> That's IMO another "top 10" issue that hurts a lot.
> >>
> >> It's a bit of a problem that when bjam scans for header dependencies
> >> it can't preprocess the files, so dependencies created by
> >>
> >> #include SOME_MACRO()
> >>
> >> don't get registered.
> >
> > What's the problem with doing real preprocessing when something like
> > above is detected?
>
> Well, if we could, it would be better to always do real preprocessing,
> or the equivalent, to eliminate false dependencies.

Good point.

> The problem is
> that fitting it into the structure of bjam is nontrivial. It's
> certainly not doable in the current Boost.Jam language.

What's the problem with invoking an external preprocessor? Performance?

--
Aleksey Gurtovoy
MetaCommunications Engineering

Boost-testing list run by mbergal at meta-comm.com