VS2008 hash_compare编译出错解决思路

VS2008 hash_compare编译出错
今天在VS2008上编译hash_compare,结果报 error C2039: “hash_compare”: 不是“stdext”的成员,
大家有碰到过么

------解决方案--------------------
你的代码???
------解决方案--------------------
http://msdn.microsoft.com/en-us/library/1s1byw77(v=vs.90).aspx ?

Header: <hash_map>
Namespace: 

包含了头文件没? using namespace stdext了没?
或者直接用 stdext::XXXXXXX的方式看看呢?
------解决方案--------------------
引用:
我是在编译OGRE1.9时碰到这个问题的,查看他里面的代码

#if OGRE_COMPILER == OGRE_COMPILER_GNUC && OGRE_COMP_VER >= 310 && !defined(STLPORT)
#   if OGRE_COMP_VER < 430
typedef ::__gnu_cxx::hash< _StringBase > _StringHash;
#   else
typedef ::std::tr1::hash< _StringBase > _StringHash;
#   endif
#elif OGRE_COMPILER == OGRE_COMPILER_CLANG
#   if defined(_LIBCPP_VERSION)
typedef ::std::hash< _StringBase > _StringHash;
#   else
typedef ::std::tr1::hash< _StringBase > _StringHash;
#   endif
#elif OGRE_COMPILER == OGRE_COMPILER_MSVC && OGRE_COMP_VER >= 1600 && !defined(STLPORT) // VC++ 10.0
typedef ::std::tr1::hash< _StringBase > _StringHash;
#elif !defined( _STLP_HASH_FUN_H )
typedef stdext::hash_compare< _StringBase, std::less< _StringBase > > _StringHash;
#else
typedef std::hash< _StringBase > _StringHash;
#endif 

看看它的文档是否有说明支持的编译器版本