Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3190: Boost doesn't build on solaris when compiled with libCstd - focus on program_options
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-18 21:30:29
#3190: Boost doesn't build on solaris when compiled with libCstd - focus on
program_options
--------------------------------------------------------------+-------------
Reporter: Cosmin Cremarenco <Cosmin.CREMARENCO_at_[hidden]> | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: program_options
Version: Boost 1.39.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------------------+-------------
Comment(by steven_watanabe):
Replying to [comment:1 vladimir_prus]:
> I'm confused by your error message. E.g.:
> {{{
> Error: Could not find a match for std::count<std::InputIterator, std::T,
> std::Size>(char*, char*, char) needed
> }}}
> suggests that the 'count' function has three template parameters, which
> is truly bizarre. Can you check if that's how it's defined in sun lib
> and why and whether it's some misconfiguration or known breakage? Does
> explicitly specifying template parameter in the call help?
Forget everything you know about the standard. AFAICT, libCstd is
configured for older versions of Sun CC, which were lacking a number of
critical language features, including partial specialization. As a
result, many components, in particular those involving
std::iterator_traits, do not match the standard. Fixing the config will
most likely break the ABI (and to some extent, the API) as much as
switching to STLport.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3190#comment:2> 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:00 UTC