On 12/21/04, at 10:09 PM, Ryan Wilcox said:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
--- At Mon, 20 Dec 2004 17:21:11 -0500, Ryan Wilcox wrote:
I would like to use boost::serialize for one of my projects, using
Codewarrior 8.3 (going to CW 9 may or may not be in the picture), on
Mac OS X (10.3.x)
I reproduced this error with the following Simplest Sample That Will
(for me) Fail To Compile.
[snip]
Part of the error message (the beginning and the end) are still inline
(although just a copy from the OP, it is 999.95% the same as what I get
when I try to compile this sample.
Oh wait, no it's not. Same result, differnt path, the header and the footer of the error message are the same, but the body is slighly different. It Might Be Useful to folk, so I've included it again. (somewhat sorry if I violated list policy here)
See below:
Error : illegal use of abstract class ('boost::archive::detail::basic_iserializer::load_object_data(boost::archive::detail::basic_iarchive &, void *, const unsigned int) const')
(point of instantiation: 'main()')
(instantiating: 'boost::archive::detail::interface_iarchiveboost::archive::text_iarchive::operator>>>>(const boost::serialization::nvp> &)')
(instantiating: 'boost::archive::text_iarchive_implboost::archive::text_iarchive::load_override>>(boost::serialization::nvp> &, int)')
(instantiating: 'boost::archive::basic_text_iarchiveboost::archive::text_iarchive::load_override>>(boost::serialization::nvp> &, int)')
(instantiating: 'boost::archive::load>>(boost::archive::text_iarchive &, boost::serialization::nvp> &)')
(instantiating: 'boost::archive::detail::load_non_pointer_type>>::invoke(boost::archive::text_iarchive &, boost::serialization::nvp> &)')
(instantiating: 'boost::archive::detail::load_non_pointer_type>>::load_only::invoke(boost::archive::text_iarchive &, boost::serialization::nvp> &)')
(instantiating: 'boost::serialization::serialize_adl>>(boost::archive::text_iarchive &, boost::serialization::nvp> &, const unsigned int)')
(instantiating: 'boost::serialization::serialize>>(boost::archive::text_iarchive &, boost::serialization::nvp> &, const unsigned int)')
(instantiating: 'boost::serialization::access::serialize>>(boost::archive::text_iarchive &, boost::serialization::nvp> &, const unsigned int)')
(instantiating: 'boost::serialization::nvp>::serializeboost::archive::text_iarchive(boost::archive::text_iarchive &, const unsigned int) const')
(instantiating: 'boost::archive::detail::interface_iarchiveboost::archive::text_iarchive::operator&>(std::vector &)')
(instantiating: 'boost::archive::text_iarchive_implboost::archive::text_iarchive::load_override>(std::vector &, int)')
(instantiating: 'boost::archive::basic_text_iarchiveboost::archive::text_iarchive::load_override>(std::vector &, int)')
(instantiating: 'boost::archive::load>(boost::archive::text_iarchive &, std::vector &)')
(instantiating: 'boost::archive::detail::load_non_pointer_type>::invoke(boost::archive::text_iarchive &, std::vector &)')
(instantiating: 'boost::archive::detail::load_non_pointer_type>::load::invoke(boost::archive::text_iarchive &, std::vector &)')
(instantiating: 'boost::archive::detail::iserializer>::instantiate()')
iserializer.hpp line 142 static iserializer instance();
Thanks,
_Ryan Wilcox