Confusion with demo.cpp from Serialization doc
When I seemingly successfully compile: http://boost.org/libs/serialization/example/demo.cpp a sample of several aspects of the Boost Serialization library, I get something close to what I expect, but it is missing the names of the drivers in the restored schedule (output below). In debugging the code it seems the file_version argument to the serialize call is always 0, despite the macro BOOST_CLASS_VERSION to set it to 2 being evaluated at compile time. I am running: - gentoo linux, 2005.0, 2.6.11-gentoo-r6 - i686-pc-linux-gnu-3.4.3-20050110 - dev-libs/boost-1.32.0 Any clues where to look for the culprit, or is this the expected behavior? ;;peter
original schedule 6:24 bob 0x0x806b0b0 34º135'52.56" 134º22'78.3" 24th Street and 10th Avenue 0x0x806b120 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 0x0x806b168 35º136'15.456" 133º32'15.3" White House 9:57 bob 0x0x806b0b0 34º135'52.56" 134º22'78.3" 24th Street and 10th Avenue 0x0x806b120 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 0x0x806b168 35º136'15.456" 133º32'15.3" White House 11:2 alice 0x0x806b0b0 34º135'52.56" 134º22'78.3" 24th Street and 10th Avenue 0x0x806b120 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 0x0x806b168 35º136'15.456" 133º32'15.3" White House 7:17 ted 0x0x806b1b8 35º134'48.789" 133º32'16.23" Lincoln Memorial 0x0x806b168 35º136'15.456" 133º32'15.3" White House 0x0x806b120 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 9:38 ted 0x0x806b1b8 35º134'48.789" 133º32'16.23" Lincoln Memorial 0x0x806b168 35º136'15.456" 133º32'15.3" White House 0x0x806b120 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 11:47 alice 0x0x806b1b8 35º134'48.789" 133º32'16.23" Lincoln Memorial 0x0x806b168 35º136'15.456" 133º32'15.3" White House 0x0x806b120 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane restored schedule 6:24 0x0x806d7b0 34º135'52.56" 134º22'78.3" 24th Street and 10th Avenue 0x0x806dce8 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 0x0x806dd58 35º136'15.456" 133º32'15.3" White House 9:57 0x0x806d7b0 34º135'52.56" 134º22'78.3" 24th Street and 10th Avenue 0x0x806dce8 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 0x0x806dd58 35º136'15.456" 133º32'15.3" White House 11:2 0x0x806d7b0 34º135'52.56" 134º22'78.3" 24th Street and 10th Avenue 0x0x806dce8 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 0x0x806dd58 35º136'15.456" 133º32'15.3" White House 7:17 0x0x806dcc0 35º134'48.789" 133º32'16.23" Lincoln Memorial 0x0x806dd58 35º136'15.456" 133º32'15.3" White House 0x0x806dce8 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 9:38 0x0x806dcc0 35º134'48.789" 133º32'16.23" Lincoln Memorial 0x0x806dd58 35º136'15.456" 133º32'15.3" White House 0x0x806dce8 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane 11:47 0x0x806dcc0 35º134'48.789" 133º32'16.23" Lincoln Memorial 0x0x806dd58 35º136'15.456" 133º32'15.3" White House 0x0x806dce8 35º137'23.456" 133º35'54.12" State street and Cathedral Vista Lane
participants (1)
-
Peter Broadwell