Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-31 14:02:23

----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>

> Actually, what I'm having problems with right now is figuring out what
> "global" means. I have variables in the doc module, that given your
> suggestion, would be global. But in my view are really local to the
> They aren't meant to get accessed by anyone outside of the doc rules.
> So question is do we need to identify those two kinds?

Since everything is "local to a module" now, the only point in making a
distinction is to prevent unintended shadowing of global variables:

foo = x y z ;


rule bar ( )
return $(foo) ;

rule bar ( x )
local foo = $(x:G) ; # oops, unintentionally changes meaning of bar

return [ bar ] ;



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