Opened 12 years ago

Closed 12 years ago

#4598 closed Bugs (fixed)

compile error in serialization

Reported by: jan.boehme@… Owned by: Thorsten Ottosen
Milestone: Boost 1.45.0 Component: ptr_container
Version: Boost 1.44.0 Severity: Showstopper
Keywords: compile error serialization Cc: crispin.boylan@…

Description

A compile error (gcc used) occurs if a ptr_container should be serialized:

boost/ptr_container/detail/serialize_reversible_cont.hpp:28: error: ‘make_nvp’ is not a member of ‘boost::serialization’ as make_nvp is used but unknown because of a missing include.

A patch to fix this is attached.

Attachments (2)

serialize_reversible_cont.hpp.patch (543 bytes ) - added by jan.boehme@… 12 years ago.
4598.patch (1.5 KB ) - added by crispin.boylan@… 12 years ago.
patch for similar errors in other files

Download all attachments as: .zip

Change History (6)

by jan.boehme@…, 12 years ago

comment:1 by jan.boehme@…, 12 years ago

Resolution: fixed
Status: newclosed

comment:2 by anonymous, 12 years ago

this also affects:

boost/ptr_container/detail/serialize_ptr_map_adapter.hpp

boost/date_time/gregorian/greg_serialize.hpp boost/date_time/posix_time/time_serialize.hpp

by crispin.boylan@…, 12 years ago

Attachment: 4598.patch added

patch for similar errors in other files

comment:3 by crispin.boylan@…, 12 years ago

Cc: crispin.boylan@… added
Resolution: fixed
Status: closedreopened

added a patch for the other files which need this change

comment:4 by Thorsten Ottosen, 12 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in release and trunk.

Note: See TracTickets for help on using tickets.