Boost logo

Boost-Build :

From: Ilya Sokolov (fal_delivery_at_[hidden])
Date: 2006-05-12 04:46:44

Hi, Emil!
sorry, i dont speak english very well.

you wrote:
> I have a Jamfile which defines requirements to disable some msvc warnings
> through <cflags> and <cxxflags>. Including Jamroot, I have 4 Jamfiles
> relevant to the build request; the one that contains the project with the
> warning-disabling requirements is just below Jamroot.
> The problem is that the warnings are not disabled. Yet, if I just move the
> requirements to any of the other 3 Jamfiles, they do get disabled, as they
> should!
the <cflags> and <cxxflags> are not _propagated_ features. In your case
the best solution is next:

using msvc
   : <cflags>{your cflag}
     <cflags>{your cflag}
     <cxxflags>{your cxxflag}


using msvc
   : <compileflags>{your compileflag}
     <compileflags>{your compileflag}

in your user-config.jam file. see

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