diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-04-15 19:47:07 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-04-15 19:47:07 +0000 |
commit | fdb1196b9394a5d1b27613200699608e422919b3 (patch) | |
tree | ba232e425b037c1a999ce7d2432750657b2e4e3f /TAO/tao/OctetSeqC.h | |
parent | 93eb4acb5a0a6a3252ebc74ddfba5727c14ca31c (diff) | |
download | ATCD-fdb1196b9394a5d1b27613200699608e422919b3.tar.gz |
ChangeLogTag: Thu Apr 15 14:27:12 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/OctetSeqC.h')
-rw-r--r-- | TAO/tao/OctetSeqC.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/TAO/tao/OctetSeqC.h b/TAO/tao/OctetSeqC.h index e6d48fbdad0..c928d7a1207 100644 --- a/TAO/tao/OctetSeqC.h +++ b/TAO/tao/OctetSeqC.h @@ -147,6 +147,18 @@ namespace TAO { } +// Workaround for a Visual Studio .NET bug where this class is not +// properly imported by an application if typedef'd or subclassed, +// resulting in 'multiply defined' link errors. The export macro +// here forces an explicit import by the application. Please see +// http://support.microsoft.com/default.aspx?scid=kb;en-us;309801 +// The problem stems from use of the type below in PortableServer, +// but we put the instantiation here because the application will +// need to see it in *C.h to avoid the error. +#if defined ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT + template class TAO_Export TAO_Unbounded_Sequence<CORBA::OctetSeq>; +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT */ + // TAO_IDL - Generated from // be\be_visitor_sequence/any_op_ch.cpp:52 |