Subject: Re: [Boost-build] feature treated as a subfeature
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-12-18 05:13:52
On Tuesday 09 September 2008 00:40:22 K. Noel Belcourt wrote:
> On Sep 8, 2008, at 2:21 PM, K. Noel Belcourt wrote:
> > When building on my Linux system, with the sun-5.9 compilers, I try
> > to use the stdlib=sun-stlport feature (defined in sun.jam). I get
> > this error from the build system.
> > bjam sun-5.9 stdlib=sun-stlport
> > /var/scratch/boost/tools/build/v2/build/feature.jam:466: in validate-
> > value-string from module feature
> > error: "sun" is not a known value of feature <stdlib>
> > error: legal values: "native" "sun-stlport" "stlport"
> I've attached a patch which seems to fix this problem and, hopefully,
> doesn't cause any other problems. Can someone look this over and see
> if it looks okay? Basically the patch says if a feature has a
> subfeature (which <stdlib> does) and the value-string (sun-stlport)
> is not in the list of valid features ( $($(feature).values) ), then
> proceed as before (split the string into subfeatures and validate the
After an embarrassing delay, I've checked in
this change (suitably adjusted for recent changes):
Noel, could you check whether you still need any local changes in feature.jam?
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