cpp: Duplicate template specializations for sequences
- From: murrayc t-online de (Murray Cumming)
- To: orbit-list <orbit-list gnome org>,orbitcpp-list <orbitcpp-list lists sourceforge net>
- Subject: cpp: Duplicate template specializations for sequences
- Date: 27 Feb 2002 21:51:01 +0100
Now, when building this:
http://www.murrayc.com/temp/bonoboui2-hello-cpp.tar.gz
the compiler complains that this template specialization from
Bonobo-Common.hh:
inline void *_orbitcpp::UnboundedSequenceTmpl< CORBA::Octet,
CORBA_sequence_CORBA_octet>::operator new(size_t) {
return CORBA_sequence_CORBA_octet__alloc();
}
is a redefinition of the same thing in orbit/orb/orb-cpp/orbicpp_poa.hh,
genereated by the ORBITCPP_DECLARE_SIMPLE_SEQUENCE() macro, in the
PortableServer namespace.
While we might be able to get around this particular clash, it seems
like the same thing will happen anytime 2 interfaces happen to use the
same sequence type.
--
Murray Cumming
murrayc@usa.net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]