Boost C++ Libraries: Ticket #11361: Solaris - `std::exception` https://svn.boost.org/trac10/ticket/11361 <p> For some complicated class hierarchies that have virtual base classes with no data members, the Oracle Solaris Studio C++ compiler generates incorrect vtables. The issue is fixed in C++ 5.4 and higher, but if the fix for this compiler bug were enabled, code generated by the fixed compiler would not be compatible with code generated by unfixed compilers. The fix thus will not be enabled until the C++ ABI is changed. </p> <p> To avoid the problem we have to pass: <strong>-xwarn_empty_vbase -errwarn=warn_empty_virt_base</strong> </p> <p> The problem is <code>'''archive_exception'''</code>, <code>'''hex_decode_error'''</code> inherit from std::exception with <code>virtual</code>. </p> <p> Now, obviously, we are getting <code>Error: Class "std::exception" appears as an empty virtual base class.</code> </p> <p> Sun compiler team said they are not planning to fix this, because it will change the ABI. </p> <p> Is there a way we can fix this on Boost side? (possibly with condition for Sun pre C++ 5.4) </p> <p> Thank you! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11361 Trac 1.4.3 John Maddock Fri, 12 Jun 2015 18:16:56 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11361#comment:1 https://svn.boost.org/trac10/ticket/11361#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Robert Ramey</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">serialization</span> </li> </ul> Ticket anonymous Fri, 12 Jun 2015 18:25:25 GMT <link>https://svn.boost.org/trac10/ticket/11361#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11361#comment:2</guid> <description> <p> If you want to submit a specific suggestion to modify the code, I'll be happy to take a look at it and consider adding it. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Fri, 15 Jan 2016 16:29:33 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11361#comment:3 https://svn.boost.org/trac10/ticket/11361#comment:3 <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">wontfix</span> </li> </ul> Ticket