Re: [Boost-bugs] [Boost C++ Libraries] #5299: Serialization throws an exception for loading binary archive on windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5299: Serialization throws an exception for loading binary archive on windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-20 11:45:53


#5299: Serialization throws an exception for loading binary archive on windows
-------------------------------------+-------------------------------------
  Reporter: Wang Peng | Owner: ramey
  <wangp.thu@…> | Status: new
      Type: Bugs | Component: serialization
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.46.0 | Keywords: serialization windows
Resolution: | binary load
-------------------------------------+-------------------------------------

Comment (by polifa@…):

 Replying to [comment:1 polifa@…]:
> Is there any news on this? I'm getting the same error using boost-1.54
 :O
>
> Thanks,
> Fabio

 I've just figure out the problem.
 Streams have to be opened with the std::fstream::binary flag.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5299#comment:2>
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