|
Boost Users : |
From: sui tam (suitam2006_at_[hidden])
Date: 2006-02-17 17:49:22
Thanks for the info.
I still run into problem and cannot get it compile correctly. It seems to
me that the BOOST_CLASS_EXPORT(A) is triggering many compilation
error. Is that possible for you to tell me why it is losing track of
the type A after some instantiation. [ I have enclosed the compile log]
Robert Ramey <ramey_at_[hidden]> wrote:
test1.cpp(92): error: the type in a const_cast must be a pointer, reference, or pointer to member to an object type
try changing the following
ar << const_cast<otext *> (_Desc) << const_cast<ut4> (_pkgIndex) << const_cast<ut4> (_clsIndex);
to:
ar << const_cast<otext * const>(_Desc);
ar << _pkgIndex;
ar << _clsIndex;
I woudl also be susppect of having ":" in an exported name - maybe its ok
but consider replacing
BOOST_CLASS_EXPORT(CModule::CInterface)
with something like something like
BOOST_CLASS_EXPORT_GUID(CModule::CInterface, CModule_CInterface)
Robert Ramey
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
W:\WUTemp\Myfolder\xsolapi>ecl /c /Fotest2.obj /G2 /Wp64 /GR /GX /Qms /O1 /G2 /DCRTAPI1=_cdecl /DCRTAPI2=_cdecl /nologo /Zl /G2 /DWIN64 /D_WIN64 /DWIN32 /D_WIN32 /DWIN_NT /DWIN32COMMON /MD /DSS_64BIT_SERVER /D_IA64_=1 -DTHREADS -DOS_NEW_CHECK -DOS_STL_ASSERT -DOS_NO_ALLOCATORS -DOS_MULTI_THREADED -DOS_REALTIME -D_REENTRANT /Zm300 /Ob0 -DNTEV_USE_GENERIC -DNTEV_USE_APC test2.cpp
test2.cpp
test2.cpp(46933): warning #791: calling convention specified more than once
__stdcall
^
test2.cpp(46942): warning #791: calling convention specified more than once
__stdcall
^
test2.cpp(15284): error: incomplete type is not allowed
typedef char boost_static_assert_typedef_566 [ ::boost::STATIC_ASSERTION_FAILURE< (bool)( check_tracking<T>::value ) >::value ];
^
detected during:
instantiation of "void boost::archive::save(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_oarchive, T=oratext={unsigned char} *__ptr64]" at line 15417
instantiation of "void boost::archive::basic_text_oarchive<Archive>::save_override(T &__ptr64, int) [with Archive=boost::archive::text_oarchive, T=oratext={unsigned char} *__ptr64]" at line 15340
instantiation of "Archive &__ptr64 boost::archive::detail::interface_oarchive<Archive>::operator<<(T &__ptr64) [with Archive=boost::archive::text_oarchive, T=oratext={unsigned char} *__ptr64]" at line 87203
instantiation of "void ExpressConnectionModule::ConnectionInterface::save(Archive &__ptr64, const unsigned int ) const [with Archive=boost::archive::text_oarchive]" at line 13732
instantiation of "void boost::serialization::access::member_save(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_oarchive, T=const ExpressConnectionModule::ConnectionInterface ]" at line 13778
[ 15 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(13748): error: expression must have class type
t.serialize(ar, file_version);
^
detected during:
instantiation of "void boost::serialization::access::serialize(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_oarchive, T=unsigned char]" at line 14038
instantiation of "void boost::serialization::serialize(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_oarchive, T=unsigned char]" at line 14062
instantiation of "void boost::serialization::serialize_adl(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_oarchive, T=unsigned char]" at line 15052
instantiation of "boost::archive::detail::pointer_oserializer<T, Archive>::pointer_oserializer() [with T=unsigned char, Archive=boost::archive::text_oarchive]" at line 15027
instantiation of class "boost::archive::detail::pointer_oserializer<T, Archive> [with T=unsigned char, Archive=boost::archive::text_oarchive]" at line 15027
[ 28 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(15207): error: expression must be a pointer to a complete object type
const basic_pointer_oserializer * bpos_ptr = register_type(ar, * t);
^
detected during:
instantiation of "void boost::archive::detail::save_pointer_type<Archive, TPtr>::invoke(Archive &__ptr64, const TPtr ) [with Archive=boost::archive::text_oarchive, TPtr=void *__ptr64]" at line 15268
instantiation of "void boost::archive::save(Archive &__ptr64, const T &__ptr64) [with Archive=boost::archive::text_oarchive, T=void *__ptr64]" at line 15417
instantiation of "void boost::archive::basic_text_oarchive<Archive>::save_override(T &__ptr64, int) [with Archive=boost::archive::text_oarchive, T=void *const __ptr64 ]" at line 15340
instantiation of "Archive &__ptr64 boost::archive::detail::interface_oarchive<Archive>::operator<<(T &__ptr64) [with Archive=boost::archive::text_oarchive, T=void *const __ptr64 ]" at line 14012
instantiation of "void boost::serialization::nvp<T>::save(Archivex &__ptr64, const unsigned int ) const [with T=void *const __ptr64 , Archivex=boost::archive::text_oarchive]" at line 13732
[ 87 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(15214): error: expression must be a pointer to a complete object type
save(ar, * t, bpos_ptr);
^
detected during:
instantiation of "void boost::archive::detail::save_pointer_type<Archive, TPtr>::invoke(Archive &__ptr64, const TPtr ) [with Archive=boost::archive::text_oarchive, TPtr=void *__ptr64]" at line 15268
instantiation of "void boost::archive::save(Archive &__ptr64, const T &__ptr64) [with Archive=boost::archive::text_oarchive, T=void *__ptr64]" at line 15417
instantiation of "void boost::archive::basic_text_oarchive<Archive>::save_override(T &__ptr64, int) [with Archive=boost::archive::text_oarchive, T=void *const __ptr64 ]" at line 15340
instantiation of "Archive &__ptr64 boost::archive::detail::interface_oarchive<Archive>::operator<<(T &__ptr64) [with Archive=boost::archive::text_oarchive, T=void *const __ptr64 ]" at line 14012
instantiation of "void boost::serialization::nvp<T>::save(Archivex &__ptr64, const unsigned int ) const [with T=void *const __ptr64 , Archivex=boost::archive::text_oarchive]" at line 13732
[ 87 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(13748): error: expression must have class type
t.serialize(ar, file_version);
^
detected during:
instantiation of "void boost::serialization::access::serialize(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_iarchive, T=unsigned char]" at line 14038
instantiation of "void boost::serialization::serialize(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_iarchive, T=unsigned char]" at line 14062
instantiation of "void boost::serialization::serialize_adl(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_iarchive, T=unsigned char]" at line 14299
instantiation of "boost::archive::detail::pointer_iserializer<T, Archive>::pointer_iserializer() [with T=unsigned char, Archive=boost::archive::text_iarchive]" at line 14240
instantiation of class "boost::archive::detail::pointer_iserializer<T, Archive> [with T=unsigned char, Archive=boost::archive::text_iarchive]" at line 14240
[ 29 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(14456): error: incomplete type is not allowed
typedef char boost_static_assert_typedef_544 [ ::boost::STATIC_ASSERTION_FAILURE< (bool)( ! boost::is_const<T>::value ) >::value ];
^
detected during:
instantiation of "void boost::archive::load(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const unsigned int ]" at line 14597
instantiation of "void boost::archive::basic_text_iarchive<Archive>::load_override(T &__ptr64, int) [with Archive=boost::archive::text_iarchive, T=const unsigned int ]" at line 14634
instantiation of "void boost::archive::text_iarchive_impl<Archive>::load_override(T &__ptr64, int) [with Archive=boost::archive::text_iarchive, T=const unsigned int ]" at line 14534
instantiation of "Archive &__ptr64 boost::archive::detail::interface_iarchive<Archive>::operator>>(T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const unsigned int ]" at line 87213
instantiation of "void ExpressConnectionModule::ConnectionInterface::load(Archive &__ptr64, const unsigned int ) [with Archive=boost::archive::text_iarchive]" at line 13740
[ 17 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(8538): error: no operator ">>" matches these operands
operand types are: std::istream >> const unsigned int
is >> t;
^
detected during:
instantiation of "void boost::archive::basic_text_iprimitive<IStream>::load(T &__ptr64) [with IStream=std::istream, T=const unsigned int ]" at line 14624
instantiation of "void boost::archive::text_iarchive_impl<Archive>::load(T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const unsigned int ]" at line 14154
instantiation of "void boost::archive::load_access::load_primitive(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const unsigned int ]" at line 14309
instantiation of "void boost::archive::detail::load_non_pointer_type<Archive, T>::load_primitive::invoke(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const unsigned int ]" at line 14353
instantiation of "void boost::archive::detail::load_non_pointer_type<Archive, T>::invoke(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const unsigned int ]" at line 14471
[ 22 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(14456): error: incomplete type is not allowed
typedef char boost_static_assert_typedef_544 [ ::boost::STATIC_ASSERTION_FAILURE< (bool)( ! boost::is_const<T>::value ) >::value ];
^
detected during:
instantiation of "void boost::archive::load(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14597
instantiation of "void boost::archive::basic_text_iarchive<Archive>::load_override(T &__ptr64, int) [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14634
instantiation of "void boost::archive::text_iarchive_impl<Archive>::load_override(T &__ptr64, int) [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14534
instantiation of "Archive &__ptr64 boost::archive::detail::interface_iarchive<Archive>::operator>>(T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14019
instantiation of "void boost::serialization::nvp<T>::load(Archivex &__ptr64, const unsigned int ) [with T=const CORBA_Object , Archivex=boost::archive::text_iarchive]" at line 13740
[ 64 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(13753): error #373: "CORBA_Object::~CORBA_Object(unsigned int)" is inaccessible
delete const_cast<T *>(t);
^
detected during:
instantiation of "void boost::serialization::access::destroy(const T *__ptr64) [with T=CORBA_Object]" at line 14163
instantiation of "void boost::archive::detail::iserializer<Archive, T>::destroy(void *__ptr64) const [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14169
instantiation of "boost::archive::detail::iserializer<Archive, T>::iserializer() [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14200
instantiation of "boost::archive::detail::iserializer<Archive, T> &__ptr64 boost::archive::detail::iserializer<Archive, T>::instantiate() [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14323
instantiation of "void boost::archive::detail::load_non_pointer_type<Archive, T>::load_standard::invoke(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14353
[ 70 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(13748): error: no instance of function template "CORBA_Object::serialize" matches the argument list and object (the object has cv-qualifiers that prevent a match)
argument types are: (boost::archive::text_iarchive , const unsigned int )
object type is: const CORBA_Object
t.serialize(ar, file_version);
^
detected during:
instantiation of "void boost::serialization::access::serialize(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14038
instantiation of "void boost::serialization::serialize(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14062
instantiation of "void boost::serialization::serialize_adl(Archive &__ptr64, T &__ptr64, const unsigned int ) [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14215
instantiation of "void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive &__ptr64, void *__ptr64, const unsigned int ) const [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14169
instantiation of "boost::archive::detail::iserializer<Archive, T>::iserializer() [with Archive=boost::archive::text_iarchive, T=const CORBA_Object ]" at line 14200
[ 72 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(14400): error: expression must be a pointer to a complete object type
const basic_pointer_iserializer * bpis_ptr = register_type(ar, *t);
^
detected during:
instantiation of "void boost::archive::detail::load_pointer_type<Archive, Tptr>::invoke(Archive &__ptr64, Tptr &__ptr64) [with Archive=boost::archive::text_iarchive, Tptr=void *__ptr64]" at line 14471
instantiation of "void boost::archive::load(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_iarchive, T=void *__ptr64]" at line 14597
instantiation of "void boost::archive::basic_text_iarchive<Archive>::load_override(T &__ptr64, int) [with Archive=boost::archive::text_iarchive, T=void *__ptr64]" at line 14634
instantiation of "void boost::archive::text_iarchive_impl<Archive>::load_override(T &__ptr64, int) [with Archive=boost::archive::text_iarchive, T=void *__ptr64]" at line 14534
instantiation of "Archive &__ptr64 boost::archive::detail::interface_iarchive<Archive>::operator>>(T &__ptr64) [with Archive=boost::archive::text_iarchive, T=void *__ptr64]" at line 14019
[ 65 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
test2.cpp(14407): error: expression must be a pointer to a complete object type
t = pointer_tweak(newbpis_ptr->get_eti(), t, *t);
^
detected during:
instantiation of "void boost::archive::detail::load_pointer_type<Archive, Tptr>::invoke(Archive &__ptr64, Tptr &__ptr64) [with Archive=boost::archive::text_iarchive, Tptr=void *__ptr64]" at line 14471
instantiation of "void boost::archive::load(Archive &__ptr64, T &__ptr64) [with Archive=boost::archive::text_iarchive, T=void *__ptr64]" at line 14597
instantiation of "void boost::archive::basic_text_iarchive<Archive>::load_override(T &__ptr64, int) [with Archive=boost::archive::text_iarchive, T=void *__ptr64]" at line 14634
instantiation of "void boost::archive::text_iarchive_impl<Archive>::load_override(T &__ptr64, int) [with Archive=boost::archive::text_iarchive, T=void *__ptr64]" at line 14534
instantiation of "Archive &__ptr64 boost::archive::detail::interface_iarchive<Archive>::operator>>(T &__ptr64) [with Archive=boost::archive::text_iarchive, T=void *__ptr64]" at line 14019
[ 65 instantiation contexts not shown ]
instantiation of class "boost::archive::detail::export_generator<T, ASeq> [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
implicit definition of "const boost::archive::detail::export_generator<ExpressConnectionModule::ConnectionInterface, boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>> boost::archive::detail::export_generator<T, ASeq>::instance [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86416
instantiation of "const void *__ptr64 boost::archive::detail::export_instance<T, ASeq>::not_abstract::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86432
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instance<T, ASeq>::invoke() [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]" at line 86439
instantiation of "std::pair<const void *__ptr64, const void *__ptr64> boost::archive::detail::export_instantiate(T &__ptr64, ASeq &__ptr64) [with T=ExpressConnectionModule::ConnectionInterface, ASeq=boost::mpl::list2<boost::archive::text_oarchive, boost::archive::text_iarchive>]"
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