Subject: [Boost-bugs] [Boost C++ Libraries] #11707: Locale facets have hidden visibility
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-04 15:54:07
#11707: Locale facets have hidden visibility
------------------------------+------------------------
Reporter: andysem | Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
Version: Boost 1.59.0 | Severity: Problem
Keywords: |
------------------------------+------------------------
When the application or another library is compiled with hidden visibility
by default, Boost.DateTime IO facets end up having hidden visibility as
well. This breaks libstdc++ locale operations, such as `has_facet` and
`use_facet`, as these operations are based on `dynamic_cast`.
Boost.DateTime should work regardless of the default visibility mode the
application chooses. All facet types, as well as the types that can be
used in their template parameters, should be marked with
`BOOST_SYMBOL_VISIBLE`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11707> 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