Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2007-11-21 05:45:42

"John Maddock" <john_at_[hidden]> writes:

> Anthony Williams wrote:
>> It's quite possible that this is because most of the thread headers
>> are platform-dependent, so are included through a macro expansion
>> (e.g. the one in boost/thread/tss.hpp). If so, is there a way to flag
>> the dependency directly?
> Exactly, if you include via:
> #include SOME_HEADER
> then bjam can't trace the dependencies, one trick would be to have a code
> block:
> #if 0
> // This block is for header dependency scanners:
> # include <a.hpp>
> # include <b.hpp>
> #endif
> at the end of the header to ensure that the dependencies get tracked
> correctly.

Thanks. I've changed the includes so they are directly conditional rather than
hidden in a macro.


Anthony Williams
Just Software Solutions Ltd -
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

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