
Hello All, During migrating my project under new development environment I face out following issue: ambiguous unqualified 'shared_ptr' name resolution. For example in .cpp files I using several usings such as: using namespace std; using namespace std::tr1; using namespace boost; In source code I have something like this: shared_ptr<SomeType> var = /*...*/; And for each such line I have an error: error C2872: 'shared_ptr' : ambiguous symbol could be 'c:\program files\microsoft visual studio 9.0\vc\include\memory(1392) : std::tr1::shared_ptr' or 'c:\program files\microsoft visual studio 9.0\vc\include\memory(1392) : std::tr1::shared_ptr' or 'p:\projects\common\boost_1.36.0\boost\shared_ptr.hpp(165) : boost::shared_ptr' What I have to do to avoid this errors for boost 1.36 except explicit share_ptr qualification? Explicit including of "boost/shared_ptr" or "memory" I already put into #ifdef/#endif braces. But this didn't help. -- Best Regards, Sergey mailto:flex_ferrum@artberg.ru