Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-04-09 02:38:53

Hi Zbynek,

> For some time I have the line 1072 commented out because it fires when I
> see no reason to.
> ..../v2/build\targets.jam:1072: in check-for-unused-sources from module
> object(type
> d-target)@6
> warning: Unused source { } in main
> target ../controller/test
> The target ../controller/test is a "unit-test" and it does not work
> without the cppunit library so the source is not "unused". Am I doing
> something work or is it a bug?

I'm afraid it's a bug, and I believe it's even filed in the tracker. The
problem again is:
1. Main target classes are completely independed
2. The logic to suppress this warning for 'lib' and 'exe' is inside main
target classes.

I'm thinking about approach to fix this....

- Volodya


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