Boost logo

Boost Users :

Subject: Re: [Boost-users] aRe: [spirit,regex] Linking problems in VS 2008
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-04-03 08:10:20


Adam Badura wrote:
>> I believe this option changes ABI, therefore both your project and
>> Boost.Regex must
>> be build with the same value of this option.
>>
>> Does this help?
>
> How to do that (build Regex with /Za)? To build the library I used
> bjam. The command line is:
> --------------------
> bjam --build-type=complete toolset=msvc-9.0 stage

Do you really need every single variant included in '--build-type=complete'?

> --------------------
>
> Where to add /Za option? (Or any option in fact.)

Does

        http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html

answer your question? It seems like

        cxxflags=/Za

should work. You need to add -a to force full rebuild.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net