Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2007-05-02 11:14:36

on Tue Apr 24 2007, "Johan Nilsson" <> wrote:

> This is probably not possible (or perhaps not even desirable to resolve),
> but I just need to get some comments on this issue:
> 1. Suppose that file a.cpp depends on a.hpp and a_util.hpp (included from
> a.cpp).
> 2. Suppose that running bjam in the project folder happily produces the exe
> "a".
> 3. Then, I delete a_util.hpp and rerun bjam (without the -a flag).
> 4. Nothing happens, as the change isn't detected.
> This can't be the desired result. Intuitively, I'd expect an
> attempt for recompilation of a.cpp with a failure due to the missing
> header.

I'm inclined to agree.

> I realize why the recompilation shouldn't happen in the general case, as
> this would otherwise cause constant rebuilds whenever bjam couldn't locate
> an included header file.

Hm. I'm not sure that's a big deal except for system headers.

Dave Abrahams
Boost Consulting
Don't Miss BoostCon 2007! ==>

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at