Boost C++ Libraries: Ticket #9043: Boost serialization version does not work on Windows https://svn.boost.org/trac10/ticket/9043 <p> Have obtained latest version of boost and tried attached demo.cpp. I noticed that the output did not store or restore the driver name. This behaviour is the same as in the supplied example/demofile.txt and example/demo_output.txt which leads me to believe that this is not due to my system configuration. </p> <p> In VS2010 when I hover over BOOST_CLASS_VERSION it gives an error: </p> <p> ERROR: version is not a template </p> <p> but it appears to compile without error or a warning related to this. </p> <p> It appears the macro for defining versions of a class is not working, and so no classes are saving any data except for data associated with version 0, and also no data from any version other than zero will be read back in to any class either. </p> <p> I have compiled from source on ubuntu and my output is correct, both saving and loading driver names. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9043 Trac 1.4.3 Robert Ramey Mon, 07 Oct 2013 19:51:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9043#comment:1 https://svn.boost.org/trac10/ticket/9043#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">invalid</span> </li> </ul> <p> I don't have vc 2010 and can't reproduce it. In any case, all tests pass on this platform. I'm guessing it's an issue related to intellisense handling of macros - which is way out my scope. </p> Ticket richard.stutt@… Tue, 08 Oct 2013 11:59:35 GMT <link>https://svn.boost.org/trac10/ticket/9043#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9043#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/9043#comment:1" title="Comment 1">ramey</a>: </p> <blockquote class="citation"> <p> I don't have vc 2010 and can't reproduce it. In any case, all tests pass on this platform. I'm guessing it's an issue related to intellisense handling of macros - which is way out my scope. </p> </blockquote> <p> I have upgraded to vc 2012 and tried again, the problem is no longer present. </p> <p> I may have been unclear, to clarify: the problem I had encountered was not just intellisense, and is present in the example output as downloaded from boost: </p> <p> in the supplied serialization/example/demo_output.txt (as was also shown on screen and written to file when I compiled and ran demo.cpp in vc 2010) </p> <pre class="wiki">original schedule 6:24 bob 0x003265C8 34º135'52.56" 134º22'78.3" 24th Street and 10th Avenue ... restored schedule 6:24 0x0032A2F8 34º135'52.56" 134º22'78.3" 24th Street and 10th Avenue ... *** No errors detected </pre><p> The name "bob" is absent from the restored schedule. </p> <p> This is still present in the documentation example in serialization/example/demo_output.txt in both boost_1_54_0.zip and boost_1_54_0.tar.bz2 downloaded today. </p> <p> At the least the example output should be updated to be correct. Additionally the example output had to be created by something, and that evidently also experienced the same error that I had experienced with vc 2010. </p> </description> <category>Ticket</category> </item> <item> <author>regan_t@…</author> <pubDate>Fri, 13 Dec 2013 16:36:13 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9043#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9043#comment:3</guid> <description> <p> Are you sure this issue should be closed? It seems the "missing Bob" bug is still present for those of us using VC 2010. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 13 Dec 2013 17:11:09 GMT</pubDate> <title>status changed; resolution deleted https://svn.boost.org/trac10/ticket/9043#comment:4 https://svn.boost.org/trac10/ticket/9043#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">invalid</span> </li> </ul> Ticket Robert Ramey Mon, 03 Feb 2014 22:43:17 GMT <link>https://svn.boost.org/trac10/ticket/9043#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9043#comment:5</guid> <description> <p> OK </p> <p> How about tracking this down and submitting a patch? </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> </channel> </rss>