Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-02-03 10:39:21


Hi Sara,

> I'm having problems with declaring a new features. The error message
> says that my feature is already defined. I'm using BBv2 milestone 10.
>
> C:/Boost/boost-build/build/feature.jam:128: in feature from module
> feature
> error: feature already defined:
> error: in feature declaration:
> error: feature "foo" : "none" "bar" "foobar" : "composite"
> project-root.jam:86: in modules.load from module project-root<.>
> C:/Boost/boost-build/build/project-roots.jam:16
>
> I played with feature.jam a little bit to print out features' names
> and I got <foo> printed twice.
>
> I found this thread you talked about similar thing, but you actually
> never said what the solution was.
> http://thread.gmane.org/gmane.comp.lib.boost.build/3847

I've just tried the example which was sent me back then, and it works. Any
change you can provide me with a testcase? You can also try creating file
foo.jam, define your feature there and "import foo ;" in project-root.jam

- Volodya

 


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