Opened 10 years ago
Last modified 10 years ago
#7013 new Bugs
Serialization Versioning Broken
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Version numbers are set to random garbage numbers with or without using BOOST_CLASS_VERSION. Sample code attached, sample output with version 1.49.0 on RHEL5 is as follows:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!DOCTYPE boost_serialization> <boost_serialization signature="serialization::archive" version="9"> <Nested class_id="0" tracking_level="0" version="2057815296"> <c>99</c> </Nested> </boost_serialization>
Attachments (1)
Change History (3)
by , 10 years ago
Attachment: | versioning.cpp added |
---|
comment:1 by , 10 years ago
This same code does work with a previous version, exactly which I'm not sure, but the version for <boost_serialization> is set to 6 on the working older copy of the boost serialization library.
comment:2 by , 10 years ago
Component: | None → serialization |
---|---|
Owner: | set to |
Note:
See TracTickets
for help on using tickets.
Source code example of broken versioning