diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-01 18:00:43 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-01 18:00:43 +0000 |
commit | 80721b3d4f9ca5c4716c4fb43e2fcf7f8e91447f (patch) | |
tree | 40fdf27f45dcc6ea445242429bb5aa2f1dc1420e | |
parent | 49cd5a984ac8b408f7c051018b3026ee32fd7cc9 (diff) | |
download | ATCD-80721b3d4f9ca5c4716c4fb43e2fcf7f8e91447f.tar.gz |
With CC 5.0, enabled explicit template instantiation and added
ACE_LACKS_ACE_IOSTREAM. Early versions of CC 5.0 seem to have
problems with automatic template instantiation and ACE_IOStream.
-rw-r--r-- | ace/config-sunos5.5.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ace/config-sunos5.5.h b/ace/config-sunos5.5.h index 82a9a2dac13..de83f513639 100644 --- a/ace/config-sunos5.5.h +++ b/ace/config-sunos5.5.h @@ -18,14 +18,17 @@ # define ACE_NEEDS_DEV_IO_CONVERSION # elif (__SUNPRO_CC >= 0x420) # define ACE_HAS_ANSI_CASTS -# if 0 /* Explicit instantiation requires the -instances=explicit - CCFLAG. It seems to work for the most part, except for: - 1) Static data members get instantiated multiple times. - 2) In TAO, the TAO_Unbounded_Sequence vtbl can't be found. */ - // Sun C++ 4.2 (and beyond) supports template specialization. +# if (__SUNPRO_CC >= 0x500) + /* Explicit instantiation requires the -instances=explicit + CCFLAG. It seems to work for the most part, except for: + 1) Static data members get instantiated multiple times. + 2) In TAO, the TAO_Unbounded_Sequence vtbl can't be found. + With CC 5.0, those problems may be fixed. And, this is necessary + to work around problems with automatic template instantiation. */ # define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION # define ACE_TEMPLATES_REQUIRE_SOURCE -# endif /* 0 */ +# define ACE_LACKS_ACE_IOSTREAM +# endif /* __SUNPRO_CC >= 0x500 */ # endif /* __SUNPRO_CC >= 0x420 */ # define ACE_CAST_CONST const # define ACE_HAS_HI_RES_TIMER |