From: David Abrahams (gclbb-jamboost_at_[hidden])
Date: 2003-08-17 23:42:13
David Abrahams <gclbb-jamboost_at_[hidden]> writes:
> Vladimir Prus <ghost_at_[hidden]> writes:
>> David Abrahams wrote:
>>> I just ran across this comment in tools/stlport.jam:
>>> # The problem: how to request to use host compiler's iostreams?
>>> # Solution 1: Global 'stlport-iostream' feature.
>>> # That's ugly. Subfeature make more sense for stlport-specific thing.
>>> # Solution 2: Use subfeature with two values, one of which ("use STLPort
>>> iostream") # is default.
>>> # The problem is that such subfeature will appear in target paths, and
>>> that's ugly # Solution 3: Use optional subfeature with only one value.
>>> I find this really strange, since default values of features and
>>> subfeatures are *not* supposed to show up in target paths. It seems
>>> like Solution 2 should work just fine, unless the subfeature is
>> I'm not 100% about the comment, but I think that that subfeatures don't have
>> default values at all.
> I know. I'm working on that feature now ;-)
Done. Seems to work a treat, though I haven't written a test
specifically for this feature.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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