Subject: [Boost-bugs] [Boost C++ Libraries] #4570: Boost-build project inheritance broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-19 15:29:05
#4570: Boost-build project inheritance broken
---------------------------------------------------------------+------------
Reporter: Brian Freyburger <bfreyburger@â¦> | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
Version: Boost 1.44.0 | Severity: Problem
Keywords: boost-build inheritence |
---------------------------------------------------------------+------------
Sometimes, boost-build applies the inheritance of a project's attributes
from it's parent's twice, clobber locally defined attributes.
Attached is the smallest example I can create, and also attached is a
patch to fix the problem.
Run before patch:
$ cd foo; bjam
...found 11 targets...
...updating 7 targets...
common.mkdir ../bin
common.mkdir ../bin/foo
common.mkdir ../bin/foo/bar
common.mkdir ../bin/foo/bar/gcc-3.4
common.mkdir ../bin/foo/bar/gcc-3.4/debug
gcc.compile.c ../bin/foo/bar/gcc-3.4/debug/test.o
gcc.link ../bin/foo/bar/gcc-3.4/debug/test
...updated 7 targets...
Run after patch:
$ cd foo; bjam
...found 9 targets...
...updating 6 targets...
common.mkdir baz
common.mkdir baz/bar
common.mkdir baz/bar/gcc-3.4
common.mkdir baz/bar/gcc-3.4/debug
gcc.compile.c baz/bar/gcc-3.4/debug/test.o
gcc.link baz/bar/gcc-3.4/debug/test
...updated 6 targets...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4570> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC