Boost logo

Boost :

Subject: Re: [boost] [Serialization] warnings and maybe a 'bug'
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-11-09 11:42:30


Christoph Duelli wrote:

> I also get lots of
> boost::archive::detail::<unnamed>::init_guid<XXXX>::g' defined but
> not used where XXXX is some class name of mine

Is it possible that the class is marked "EXPORT" when this is not
in fact necessary?

> ii) maybe a 'bug' (code does no longer compile)
> Code that used to compile with Boost 1.40 does no longer compile with
> the
> 1.41 beta:
> (I had no time to investigate yet; in case it is obvious for you once
> you
> see the code I have decided to include this point in this posting):
>
> boost/archive/shared_ptr_helper.hpp:114: error: cannot convert 'const
> boost::serialization::extended_type_info_typeid<MEPfad>' to 'const
> boost::serialization::extended_type_info*' in return
> (where MEPfad is a class of mine)

In this case the code actually looks wrong to me. I'm curious why it
never failed any tests. If you have a small bit of source which traps
this problem, I would be curious to see it.

Robert Ramey

>
> Best regards
> Christoph
>
> _______________________________________________
> 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