Boost logo

Boost-Build :

Subject: Re: [Boost-build] Is this the right way to add compiler flags to specific libraries
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-05-27 13:33:42

[Reposting, with list in CC]

On Wednesday 27 May 2009 20:08:29 you wrote:
> GCC 4.4, which is what we are currently in the development version of
> openSUSE currently reports a number of false positive warnings regarding
> strict-aliasing. Therefore I have to pass -Wno-strict-aliasing for those
> libraries where these erroneous warnings are put out.
> Now I'm still not very familiar with the jam syntax and the current features
> of As far as I've found out till now, something like
> project boost/foo
> : source-location ../src
> : requirements <toolset-gcc:version>4.4:<cxxflags>-Wno-strict-aliasing
> ;
> should do the trick, right?

Yes, this should work.


might work as well.

- Volodya

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