Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-13 09:21:57

abingham2 wrote:
> I've noticed what seems to be a bug related to the creation of
> features. I declare a feature in one Jamfile. When I then execute bjam
> from my project root directory, everything seems to go OK.
> However, if I execute bjam from the directory containing the Jamfile
> in which the feature is defined, bjam tells me that:
> /usr/local/boost-build/new/feature.jam:125: in feature from module
> feature
> error: feature already defined:
> in feature declaration:
> feature "enable-my-feature" : "off" "on" : "propagated"


> So, it seems that bjam gets confused when it is executed on a non-root
> directory. It doesn't seem to matter how I initiate the build; that
> is, I can request the target via its 'use-project' name or its fully
> qualified's doesn't seem to matter.
> Is this a known bug? Or am I perhaps doing something wrong?

Hi Austin,
this is not a known bug and I cannot reproduce it locally. Could you take a
small project on which the problem is seen, pack it, and sent it to me, so
that I can reproduce?

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at