|
Boost-Build : |
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-05-11 00:57:40
Alex Besogonov wrote:
> Good <time-of-day>!
>
> As you know, I'm rewriting Jam in C++ and I have a questions to Boost
> developers: should I replicate Jam bugs?
Yes, please fix the bugs. And more important improve on the test cases.
> So far I've found:
> 1. This code:
> =======
> c = 1 2 3 4 5 ;
> ECHO $(c[1-3]:J=) ;
> =======
> produces an empty string instead of expected "123).
Yea, that's not good.
> 2. This code:
> =======
> a = c:/temp/aaa.txt c:/temp/bbb.txt ;
> ECHO $(a:D=[1]) ;
> =======
> produces garbage (text with '\1' and '\2' characters) instead of
> expected 'aaa.txt'.
Neither is what I would expect. The above should be a syntax error. To
get the expected 'aaa.txt' you would:
ECHO $(a[1]:D=) ;
Of course the docs are not really clear on which modifiers are allowed
where :-(
> 3. This code:
> =======
> a = c:/temp/bbb.txt ;
> b = ":D=" ;
> ECHO $(a$(b)) ;
> =======
> produces an empty string.
I guess it takes fresh eyes to think of doing that ;-)
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
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