Boost logo

Boost-Build :

From: Kirill Lapshin (klapshin_at_[hidden])
Date: 2003-11-09 14:02:24


I am observing the same problem. Though sometimes it links without
warnings. Looks like if you do a clean build, then change file and
build again there are no warnings, but if you change folder and build
then you get lots of warnings.

One more issue related to this one. Rsp files are not always
regenerated, leading to errors if you build from different folders.
Suppose you have a lib foo, and exe foo_test which uses foo. You first
run clean build, from the root of the project. Then you made change to
one of the foo sources, change dir to foo, and run build. In this
scenarion foo.rsp will be regenerated, you'll get foo.lib (though with
pile of warnings) but foo_test builds with old rsp which has paths
relative from project root, not foo.

--- In jamboost_at_[hidden], "John Maddock" <john_at_j...> wrote:
> For some reason when rebuilding the regex lib I get pages and pages of
> linker warning about duplicate symbols (because the library already
exists
> so the symbols are getting replaced), is there any reason not to just
> replace:
>
> if exist "$(<)" set _$(<:B)_="$(<)"
>
> with
>
> if exist "$(<)" DEL "$(<)"
>
> which just deletes the old library so it always gets a clean rebuild.
>
> Thanks,
>
> John

 


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