[Boost-bugs] [Boost C++ Libraries] #9043: Boost serialization version does not work on Windows

Subject: [Boost-bugs] [Boost C++ Libraries] #9043: Boost serialization version does not work on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-24 14:30:18


#9043: Boost serialization version does not work on Windows
-----------------------------------+---------------------------
 Reporter: richard.stutt@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: serialization version |
-----------------------------------+---------------------------
 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.

 In VS2010 when I hover over BOOST_CLASS_VERSION it gives an error:

 ERROR: version is not a template

 but it appears to compile without error or a warning related to this.

 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.

 I have compiled from source on ubuntu and my output is correct, both
 saving and loading driver names.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9043>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC