Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] Sometimes Fails Reading BinaryFile
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-06-17 14:05:41


Robert McCullough wrote:
>> -----Original Message-----
>> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
>> bounces_at_[hidden]] On Behalf Of Robert Ramey
>> Sent: Thursday, June 17, 2010 12:22 PM
>> To: boost-users_at_[hidden]
>> Subject: Re: [Boost-users] [Serialization] Sometimes Fails Reading
>> BinaryFile
>>
>> Robert McCullough wrote:
>>
>>>> basic_binary_iarchive<Archive>::init() is failing on line :
>>>> if(l == std::strlen(BOOST_ARCHIVE_SIGNATURE())) { and line
>>>> if(file_signature != BOOST_ARCHIVE_SIGNATURE())
>>>>
>>>>
>>>> Do you have any ideas why I would be getting these large numbers
>>>> for " l "?
>>>>
>>>> What does the " input_library_version " indicate?
>>>>
>>>> What does input_library_version == 5 mean ?
>>>>
>>>> What does input_library_version == 7 mean ?
>>
>> Look at the code in boost_archive.cpp. Comments in the code
>> describe what these numbers mean.
>
> [Robert McCullough]
> I cannot seem to find file boost_archive.cpp.

Hmmm - it's not in [BOOSTROOT]/libs/serialization/src/boost_archive.cpp ?

If this file is missing, that would be a serious problem. I don't see how
the
library could be built without errors if this is missing.

Robert Ramey


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