Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-03-15 02:54:28


Zbynek Winkler wrote:
> Hello.
>
> I am getting warning about "Unused source", only this time it is for a
> searched library. I've not been updating from cvs for some while and I
> think it came with the last update I did today... I am attaching the
> output. The rule that causes the warning is
>
> unit-test test1 : simul simulTest.cpp /site-config//cppunit /util//testMain
> ;
>
> where 'simul' is library defined in the same Jamfile and 'cppunit' is a
> searched library.
>
> Zbynek
>
> PS. For now I've commented the out the line targets.jam:994 in my copy
> since this warning gave me nothing but troubles so far... :(

Hi Zbynek,
I think you've run in the same problem that Andre mentioned in

http://article.gmane.org/gmane.comp.lib.boost.build/5021/

In short, special logic to avoid the warning is hardcoded to the "lib" and
"exe" types. I've created a new issue,

http://zigzag.cs.msu.su:7814/scarab/issues/id/BB73

But it seems quite big, so I might end up disable usused sources check for a
while.

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk