Boost logo

Boost :

Subject: Re: [boost] regex/ICU fix
From: John Maddock (john_at_[hidden])
Date: 2009-08-20 05:13:14


> As reported previously, --build-type=complete does not work if
> ICU is also configured. The below patch makes build process
> suppress building static Boost.Regex in this case. The wording
> is as follows:
>
> ghost_at_wind:~/Work/Boost/boost-svn$ bjam link=static
> runtime-link=static --with-regex
> ....
> warning: when using ICU, Boost.Regex must be a dynamic library
> warning: forcing link=shared runtime-link=shared for Boost.Regex
> Note: Building Boost.Regex with Unicode/ICU support enabled
> Using ICU in /usr/include
>
> Note that the warning is printed before the message that we're using ICU,
> which is ugly, but what I have is a minimal change. I'll tweak those
> configuration messages for 1.41. Comments? Ok for release branch?

Does this disable building for link=static runtime-link=dynamic ? It looks
like it does, but this configuration is OK, it's just the runtime that must
be shared for things to work correctly.

Thanks, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk