Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.41.0 fails to compile on Windows 7 with VisualStudion 2008 tools
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-12-04 17:45:58


Mike Jackson wrote:
> 1>
> C:\Users\mjackson\Workspace\boost-1.41.0.cmake0\boost/test/impl/exception_safety.ipp(518)
>> see reference to class template instantiation
> 'boost::unit_test::callback0<>' being compiled
> 1>C:\Users\mjackson\Workspace\boost-1.41.0.cmake0\boost/smart_ptr/shared_ptr.hpp(231)
>> error C2872: 'detail' : ambiguous symbol
> 1> could be 'boost::detail'
> 1> or 'boost::unit_test::detail'
> 1>C:\Users\mjackson\Workspace\boost-1.41.0.cmake0\boost/smart_ptr/shared_ptr.hpp(231)
>> error C2872: 'detail' : ambiguous symbol
> 1> could be 'boost::detail'
> 1> or 'boost::unit_test::detail'
> 1>C:\Users\mjackson\Workspace\boost-1.41.0.cmake0\boost/smart_ptr/shared_ptr.hpp(231)
>> error C2872: 'detail' : ambiguous symbol
> 1> could be 'boost::detail'
> 1> or 'boost::unit_test::detail'
> 1>C:\Users\mjackson\Workspace\boost-1.41.0.cmake0\boost/smart_ptr/shared_ptr.hpp(451)
>> error C2872: 'detail' : ambiguous symbol
> 1> could be 'boost::detail'
> 1> or 'boost::unit_test::detail'
>
> I tried both the CMake versions of 1.41.0 and the normal bjam
> versions. Both gave the same error.

What file was being compiled when the errors above occured?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net