Opened 8 years ago
Closed 8 years ago
#11079 closed Bugs (duplicate)
Missing header file in type_erasure/exception.hpp causes several tests in type_erasure to fail
Reported by: | Owned by: | Steven Watanabe | |
---|---|---|---|
Milestone: | To Be Determined | Component: | type_erasure |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: | sergey.sprogis@… |
Description
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>
%
Duplicates #11078