Boost logo

Boost Users :

From: Peter Broadwell (peter_at_[hidden])
Date: 2005-05-19 21:42:59


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 34135'52.56" 13422'78.3" 24th Street and 10th Avenue
> 0x0x806b120 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 0x0x806b168 35136'15.456" 13332'15.3" White House
> 9:57 bob
> 0x0x806b0b0 34135'52.56" 13422'78.3" 24th Street and 10th Avenue
> 0x0x806b120 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 0x0x806b168 35136'15.456" 13332'15.3" White House
> 11:2 alice
> 0x0x806b0b0 34135'52.56" 13422'78.3" 24th Street and 10th Avenue
> 0x0x806b120 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 0x0x806b168 35136'15.456" 13332'15.3" White House
> 7:17 ted
> 0x0x806b1b8 35134'48.789" 13332'16.23" Lincoln Memorial
> 0x0x806b168 35136'15.456" 13332'15.3" White House
> 0x0x806b120 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 9:38 ted
> 0x0x806b1b8 35134'48.789" 13332'16.23" Lincoln Memorial
> 0x0x806b168 35136'15.456" 13332'15.3" White House
> 0x0x806b120 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 11:47 alice
> 0x0x806b1b8 35134'48.789" 13332'16.23" Lincoln Memorial
> 0x0x806b168 35136'15.456" 13332'15.3" White House
> 0x0x806b120 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> restored schedule
> 6:24
> 0x0x806d7b0 34135'52.56" 13422'78.3" 24th Street and 10th Avenue
> 0x0x806dce8 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 0x0x806dd58 35136'15.456" 13332'15.3" White House
> 9:57
> 0x0x806d7b0 34135'52.56" 13422'78.3" 24th Street and 10th Avenue
> 0x0x806dce8 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 0x0x806dd58 35136'15.456" 13332'15.3" White House
> 11:2
> 0x0x806d7b0 34135'52.56" 13422'78.3" 24th Street and 10th Avenue
> 0x0x806dce8 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 0x0x806dd58 35136'15.456" 13332'15.3" White House
> 7:17
> 0x0x806dcc0 35134'48.789" 13332'16.23" Lincoln Memorial
> 0x0x806dd58 35136'15.456" 13332'15.3" White House
> 0x0x806dce8 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 9:38
> 0x0x806dcc0 35134'48.789" 13332'16.23" Lincoln Memorial
> 0x0x806dd58 35136'15.456" 13332'15.3" White House
> 0x0x806dce8 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane
> 11:47
> 0x0x806dcc0 35134'48.789" 13332'16.23" Lincoln Memorial
> 0x0x806dd58 35136'15.456" 13332'15.3" White House
> 0x0x806dce8 35137'23.456" 13335'54.12" State street and Cathedral Vista Lane


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net