Subject: [Boost-bugs] [Boost C++ Libraries] #11078: Missing header file in type_erasure/exception.hpp causes several tests in type_erasure to fail
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-06 06:13:35
#11078: Missing header file in type_erasure/exception.hpp causes several tests in
type_erasure to fail
-------------------------------------------+-----------------------------
Reporter: Aparna Kumta <aparna.kumta@â¦> | Owner: steven_watanabe
Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_erasure
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------------+-----------------------------
Compiling with Oracle Solaris Studio 12.4 on Solaris11.2, several
type_erasure tests fail as follows:
"../boost/type_erasure/exception.hpp", line 29: Error: Could not find
std::invalid_argument::invalid_argument(const char[18]) to initialize base
class.
"../boost/type_erasure/exception.hpp", line 29: Error: Could not find a
match for
std::invalid_argument::invalid_argument(boost::type_erasure::bad_function_call,
const char[18]) needed in
boost::type_erasure::bad_function_call::bad_function_call().
Adding <string> header file
to boost/type_erasure/exception.hpp seems to resolve the issue.
% diff ./exception.hpp_orig exception.hpp
15a16
> #include <string>
%
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11078> 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:18 UTC