From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-08-13 13:04:16
----- Original Message -----
From: "Vladimir Prus" <ghost_at_[hidden]>
> I have noticed a problem with recursive "" includes. Suppose
> src/main.cpp contains
> #include "a/foo.h"
> #include "b/foo.h"
> In this case, jam -d3 output says that "b/foo.h" is not found, and,
> therefore, nothing depends on it. The problem is that HdrRule does not add
> path to including file to search path for included one. The question is if
> it's possible to find path to including file? I don't see any way.
Good question! I don't see any, either. That's a surprising oversight
It looks like a simple Jam modification to set the bound path of each
scanned header into a target-specific variable (e.g. BINDING) might do the
> Besides: when I tried the same sample project with CVS snapshot, I've got
> warning: unknown rule SUBST,
> followed by segfault.
Sounds like you don't have FTJam. SUBST is a built-in rule in FTJam.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk