Boost C++ Libraries: Ticket #4211: unsupported_class_version should report relevant class name https://svn.boost.org/trac10/ticket/4211 <p> The attached patch changes the constructor for archive_exception handling of the unsupported_class_version code, treating the optional second argument as the name of the class. The sole caller of this function with that code passes the relevant class name as that optional second argument. Fixing this might help someone else avoid wasting a bunch of time looking in the wrong place for a bug in their code. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4211 Trac 1.4.3 kab@… Thu, 13 May 2010 04:25:16 GMT <link>https://svn.boost.org/trac10/ticket/4211#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4211#comment:1</guid> <description> <p> Trac doesn't seem to be accepting attachments right now. The change is quite simple, so I'll just put it here in-line: </p> <p> libs/serialization/src/archive_exception.cpp -- boost 1.43 release </p> <blockquote> <p> case unsupported_class_version: </p> </blockquote> <ul><li> m_msg = "class version"; </li></ul><p> + m_msg = "class version "; + m_msg += (NULL != e1) ? e1 : "&lt;unknown class&gt;"; </p> <blockquote> <p> break; </p> </blockquote> <blockquote> <p> case other_exception: </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 13 May 2010 04:29:48 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4211#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4211#comment:2</guid> <description> <p> Sigh, wiki formatting pretty much trashed that. Trying again. </p> <pre class="wiki"> case unsupported_class_version: - m_msg = "class version"; + m_msg = "class version "; + m_msg += (NULL != e1) ? e1 : "&lt;unknown class&gt;"; break; case other_exception: </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Sun, 16 May 2010 01:25:25 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4211#comment:3 https://svn.boost.org/trac10/ticket/4211#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">fixed</span> </li> </ul> <p> fixed on my version - migration to trunk on passing local test </p> Ticket