Boost C++ Libraries: Ticket #11099: Some type_index tests fail with Error: The type "boost::STATIC_ASSERTION_FAILURE<0>" is incomplete. https://svn.boost.org/trac10/ticket/11099 <p> 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&lt;0&gt;" is incomplete. "../boost/type_index/ctti_type_index.hpp", line 88: Where: While instantiating "static boost::detail::ctti&lt;user_defined_type&gt;::n()". "../boost/type_index/ctti_type_index.hpp", line 88: Where: Instantiated from print&lt;user_defined_type&gt;(const char*). "../libs/type_index/examples/table_of_names.cpp", line 57: Where: Instantiated from non-template code. 1 Error(s) detected. </p> <p> 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 </p> <blockquote class="citation"> <blockquote> <table class="wiki"> <tr><td> (defined (<span class="underline">SUNPRO_CC) &amp;&amp; (</span>SUNPRO_CC &gt;= 0x5130)) \ </td></tr></table> </blockquote> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11099 Trac 1.4.3 Antony Polukhin Sun, 19 Apr 2015 15:15:53 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/11099#comment:1 https://svn.boost.org/trac10/ticket/11099#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> </ul> <p> This has been fixed <a class="ext-link" href="https://github.com/boostorg/type_index/commit/6b5d2743c52e741bd42dbfb3d2fad62b87de9eb0"><span class="icon">​</span>in 1.58 release</a> </p> Ticket