Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-02 02:40:55


On Wednesday 01 December 2004 21:45, Reece Dunn wrote:

> > I've committed the attached patch, and verified that it work both for
> > no-version configuration and for two initialized stlport versions. Could
> > you either update from CVS or apply the patch, and try again?
>
> The above error is now fixed, but I am getting:
>
> bash-2.05b$ bjam release msvc-7.1 stdlib=stlport
> f:/devel/boost/boost/tools/build/v2/build\targets.jam:1091: in
> basic-target.gene
> rate
> *** argument error
> * rule object(property-set)@15.add ( ps )
> * called with: ( )
> * missing argument ps

Ah, sure, there's code like:

# We don't need libraries if host istreams are used. For
# msvc, automatic library selection will be used.
if ! $(hostios) && $(toolset) != msvc

so the error does not show up for my testing. Committed the attached patch,
which should fix everything.

> Note that user-config.jam is wrong since
>
> # Configure, specifying locatioh of both headers and libraries
> # using stlport : : /usr/include/stlport : /usr/lib ;
>
> gives:
>
> bash-2.05b$ bjam release msvc-7.1 stdlib=stlport
> f:/devel/boost/boost/tools/build/v2/build\toolset.jam:29: in using
> *** argument error
> * rule stlport.init ( version ? : headers libraries ? )
> * called with: ( : f:/devel/stlport/462/stlport :

Thanks, this is fixed now.

- Volodya
 --Boundary-00=_HcsrBftUGDZZNmX Content-Type: text/x-diff;
charset="iso-8859-1";
name="stlport.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="stlport.diff"

Index: stlport.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/stlport.jam,v
retrieving revision 1.15
diff -u -r1.15 stlport.jam
--- stlport.jam 1 Dec 2004 09:42:06 -0000 1.15
+++ stlport.jam 2 Dec 2004 07:34:59 -0000
@@ -145,7 +145,10 @@
return [ generators.construct $(self.project) $(name) : SEARCHED_LIB
: $(property-set) ] ;
}
-
+ else
+ {
+ return [ property-set.empty ] ;
+ }
}

rule compute-usage-requirements ( subvariant )
 --Boundary-00=_HcsrBftUGDZZNmX--


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