Opened 8 years ago

Closed 7 years ago

#11078 closed Bugs (fixed)

Missing header file in type_erasure/exception.hpp causes several tests in type_erasure to fail

Reported by: Aparna Kumta <aparna.kumta@…> 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>

%

Change History (1)

comment:1 by Steven Watanabe, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.