[Boost-bugs] [Boost C++ Libraries] #11099: Some type_index tests fail with Error: The type "boost::STATIC_ASSERTION_FAILURE<0>" is incomplete.

Subject: [Boost-bugs] [Boost C++ Libraries] #11099: Some type_index tests fail with Error: The type "boost::STATIC_ASSERTION_FAILURE<0>" is incomplete.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-10 20:29:26


#11099: Some type_index tests fail with Error: The type
"boost::STATIC_ASSERTION_FAILURE<0>" is incomplete.
-------------------------------------------+------------------------
 Reporter: Aparna Kumta <aparna.kumta@…> | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_index
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+------------------------
 Compiling libs/type_index/examples/table_of_names.cpp with Oracle Solaris
 Studio12.4
 on Solaris 11.2 we see the following error:
 "../boost/type_index/detail/compile_time_type_info.hpp", line 135: Error:
 The type "boost::STATIC_ASSERTION_FAILURE<0>" is incomplete.
 "../boost/type_index/ctti_type_index.hpp", line 88: Where: While
 instantiating "static boost::detail::ctti<user_defined_type>::n()".
 "../boost/type_index/ctti_type_index.hpp", line 88: Where:
 Instantiated from print<user_defined_type>(const char*).
 "../libs/type_index/examples/table_of_names.cpp", line 57: Where:
 Instantiated from non-template code.
 1 Error(s) detected.

 The following change to boost/type_index/detail/compile_time_type_info.hpp
 resolves the issue.
 %diff ./compile_time_type_info.hpp compile_time_type_info.hpp.new
 121a122
> || (defined (__SUNPRO_CC) && (__SUNPRO_CC >= 0x5130)) \

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11099>
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