Opened 8 years ago

Closed 8 years ago

#11099 closed Bugs (fixed)

Some type_index tests fail with Error: The type "boost::STATIC_ASSERTION_FAILURE<0>" is incomplete.

Reported by: Aparna Kumta <aparna.kumta@…> Owned by: Antony Polukhin
Milestone: Boost 1.58.0 Component: type_index
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

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)) \

Change History (1)

comment:1 by Antony Polukhin, 8 years ago

Milestone: To Be DeterminedBoost 1.58.0
Resolution: fixed
Status: newclosed

This has been fixed in 1.58 release

Note: See TracTickets for help on using tickets.