Boost logo

Boost :

Subject: Re: [boost] [Boost.Config] Stlport patch for Sun compilers on Linux
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-10 05:55:34

John Maddock:
> Peter Dimov wrote:
>>> The only compiler I know of that doesn't have type_info in std is
>>> Embedded VC++ 4.2; it is what prompted me to ask for the addition of
>>> BOOST_NO_STD_TYPEINFO to make shared_ptr compile. Even eVC++ 4.2 is
>>> able to eat std::exception though (if I recall).
> There are a few other configurations where class "exception" may be
> present but in the global namespace:
> STLPort when import of C std lib names is disabled.
> VC6.
> VC6 + updated dinkumware std lib.

VC6 definitely has std::exception. It's possible that STLPort on top of VC6
and with C import disabled doesn't, I can't check at the moment.

Still, shared_ptr uses std::exception directly, it doesn't look at the
macros, and nobody has reported it not to work. (It didn't work on eVC 4 for
other reasons, but not for this one.)

Boost list run by bdawes at, gregod at, cpdaniel at, john at