$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-01-26 11:50:51
For the Dinkumware library supplied with VC, BOOST_STD_EXTENSION_NAMESPACE 
is defined to be std wich works, but the latest version that comes with 
VC7.1 deprecates the version in the std namespace and provides a version in 
the stdext namespace. The problem is that:
#include <hash_map>
#include <boost/config.hpp>
int main()
{
   BOOST_STD_EXTENSION_NAMESPACE::hash_map< std::string, int >
                                       hm;
   hm[ "Alles"   ] = 3;
   hm[ "Liebe"   ] = 7;
   hm[ "Solange" ] = -5;
   return( 0 );
}
will generate too many 'deprecated function' warnings in VC7.1, making it 
harder to find actual errors! I therefore propose to add the following to 
dinkumware.hpp [line 45]:
#elf defined(_CPPLIB_VER) && (_CPPLIB_VER >= 313)
#  define BOOST_STD_EXTENSION_NAMESPACE stdext
#else // line 47 ...
Regards,
Reece
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger