Boost logo

Boost Users :

Subject: Re: [Boost-users] boost serialisation, just including shared_ptr.hpp causes compile error on Linux/gcc 4.5
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2014-08-18 11:37:05


Hi Avi,

as this is a users question, I do not answer on Boost.Build.

Am Montag, 18. August 2014, 15:59:12 schrieb avib369 .:
> I did not see boost serialisation in the list of lib that had changed. So
> its surprising that it now broken ?

A glitch that the unit tests did not catch.

> It appears simply including it cause problems
>
> #include <boost/serialization/shared_ptr.hpp>

> Are there any workarounds ?

Get this commit from GitHub:

----------------
commit c13b89c8f9528a15ff3bbb5ccc039493e7e0155e
Author: Robert Ramey <ramey_at_[hidden]>
Date: Tue Aug 12 09:05:54 2014 -0700

    added missing headers to shared_ptr_helper.
    
    note - failed to show up in tests. probably included superfluously in
other headers.
------

https://github.com/boostorg/serialization/commit/c13b89c8f9528a15ff3bbb5ccc039493e7e0155e

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             ! Germany

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