Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11878: Locale dependend number formatting doesn't work with MSVC release config
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-29 21:16:16
#11878: Locale dependend number formatting doesn't work with MSVC release config
--------------------------------+---------------------
Reporter: octavian.cacina@⦠| Owner: artyom
Type: Bugs | Status: new
Milestone: To Be Determined | Component: locale
Version: Boost 1.60.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+---------------------
Comment (by octavian.cacina@â¦):
Replying to [comment:3 artyom]:
> > Release config with boost static and runtime dynamic (my production
config) does _not_ work.
>
> There maybe some confusion. If you build boost with `runtime-
link=static` it creates static library linked to STATIC runtime. And if
you use one they refer to "same" stuff in standard library that would
actually be different!.
>
> You should may use static library liked to dynamic runtime and yourself
link to dynamic runtime so you both look into same DLL.
Exactly, that's how I'm using it. Sorry not beeing clear enough. So this
configuration would be with boost beeing compiled so:
> b2 link=static threading=multi runtime-link=shared stage
The test app uses also shared runtime: Multi-threaded DLL (/MD)
This app links then libboost_locale-vc140-mt-1_60.lib (so the static
compiled boost lib that uses the shared runtime).
So everybody does look in the same runtime dll.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11878#comment:4> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC