Subject: Re: [Boost-build] feature treated as a subfeature
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2008-09-08 16:40:22
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
Okay to commit?
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