Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-05-17 21:32:37


No problem, I've made the change in my local copy but haven't checked it in
yet. I've still got some issue with Comeau. That's why I haven't checked
it in myself yet.

Robert Ramey

Joaquín Mª López Muñoz wrote:
> Boost.Serialization is currently failing to build in Comeau 4.3.3,
> apparently for legitimate reasons:
>
> http://tinyurl.com/adv2g
>
> The detail type helper_type in
> libs/serialization/src/basic_oarchive.cpp
>
> contains the following member:
>
> const boost::serialization::extended_type_info * const m_eti;
>
> whose constness prevents the compiler from generating a default
> assignment operator for helper_type. Hence helper_type is
> not Assignable and thus cannot be used in a STL container like
> attempted
>
> at line 164 in the same archive:
>
> std::set<helper_type, helper_compare> m_helpers;
>
> I guess removing the const qualifier of m_eti would suffice to make
> this
>
> error go away. Any objection to me applying the attached patch
> (confirmed
> to work on MSVC, yet untested in Comeau)?
>
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo
>
>
>
>
>
>
>> 143c143
>> < const boost::serialization::extended_type_info * const
>> m_eti; ---
>>> const boost::serialization::extended_type_info * m_eti;
>> 146c146
>> < const boost::serialization::extended_type_info * const
>> eti ---
>>> const boost::serialization::extended_type_info * eti
>>
>
>
>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk