Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-25 03:35:21


On Wednesday 24 May 2006 20:19, Ilya Sokolov wrote:
> with jamfile
>
> exe zclient
>
> : # sources
>
> ...
> //site-config/zlib #my bug, should be /site-config//zlib
> ...
> ;
>
> i get this strange message:
>
> K:/develop/third_party/tool/boost/tools/build/v2/build\targets.jam:537:
> in start-building from module targets
> error: Recursion in main target references
> error: the following target are being built currently:
> error: ./zclient ./zclient

.....

> my patch to fix it:

Hi Ilya,

thanks for reports and the patch. However, I believe that patch takes a wrong
approach to the problem. The syntax of target references is parsed in
project-target.find-really method. It would be logical to check that the part
before '//' is not empty in that method.

What do you think?

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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