-Wundef fixes.

[SVN r18788]
This commit is contained in:
Peter Dimov
2003-06-12 17:09:24 +00:00
parent 11cddbbb45
commit 889cb6bee6
15 changed files with 23 additions and 31 deletions
+2 -2
View File
@@ -246,7 +246,7 @@ public:
// implicit conversion to "bool"
#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x530)
#if defined(__SUNPRO_CC) && BOOST_WORKAROUND(__SUNPRO_CC, <= 0x530)
operator bool () const
{
@@ -398,7 +398,7 @@ template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> co
#else
# if BOOST_WORKAROUND(BOOST_MSVC, <= 1200 && __SGI_STL_PORT)
# if defined(BOOST_MSVC) && BOOST_WORKAROUND(BOOST_MSVC, <= 1200 && __SGI_STL_PORT)
// MSVC6 has problems finding std::basic_ostream through the using declaration in namespace _STL
using std::basic_ostream;
template<class E, class T, class Y> basic_ostream<E, T> & operator<< (basic_ostream<E, T> & os, shared_ptr<Y> const & p)