Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-08-04 15:50:41


Hi,

In version 1.21 of toolset.jam, the init function was changed to:

----------------------------
revision 1.21
date: 2003/12/11 13:42:40; author: vladimir_prus; state: Exp; lines: +5 -1
Don't even call the 'init' rule of toolset twice.

rule using ( toolset-module : * )
{
import $(toolset-module) ;
if ! $(.$(toolset-module)-init-callled)
{
$(toolset-module)-init-callled = true ;
$(toolset-module).init $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) :
$(9) ;
}
}

However, this code never works. It is always possible
to call init on a toolset twice because
.$(toolset-module)-init-called and $(toolset-modul)-init-called
are not the same variable.

What is really supposed to happen?

-- 
Craig Rodrigues 
rodrigc_at_[hidden]
 

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