Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-02-17 06:50:22


Hi Michael,

> I a bit confused about this so I guess I must vote for
> [ X  ] Sounds important

Okay.

> > I'd like to gather opinion on the link-compatibility check V2 performs:
> > when a source differ in link-incompatible properties from the target
> > where it's used, a warning is issued.
>
> I'm trying to work out how you can force V2 to use a link-incompatible
> target. When builded targets are generated based on link compatibility.
> That is a different target is generated whenever a link-incompatible
> feature is specified. I must be missing something fundamental here!

It's quite simple:

lib common : common.cpp : <threading>single ;
lib runtime : runtime.cpp common : <threading>multi ;

Here's, you're linking singled-threaded library into multithreaded one, and a
warning is issued.

- 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