List Info

Thread: fix for strange message




fix for strange message
user name
2006-05-25 07: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\targ
ets.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_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
fix for strange message
user name
2006-05-25 10:12:49
1.
path.make-NT rule returns nothing ("") for paths
that begins with '//'. 
i think it's a separate bug

and

2.
 >It would be logical to check that the part
 > before '//' is not empty in that method.
agree

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )