Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.41.0 fails to compile on Windows 7 with VisualStudion 2008 tools
From: Mike Jackson (mike.jackson_at_[hidden])
Date: 2009-12-05 09:12:08


I believe something down in the unit test framework was being
compiled. I am away from my work machine so I can not be more
specific. I don't think I did anything out of the ordinary when trying
to compile Boost. I downloaded the tar ball from boost.org, used bjam
to configure and build. Then I got the errors. Although I do find it
odd that this was not caught during the release preparations.

  So I am thinking maybe a Windows 7 x64, VS2008 specific bug?
_________________________________________________________
Mike Jackson mike.jackson_at_[hidden]

On Fri, Dec 4, 2009 at 5:45 PM, Peter Dimov <pdimov_at_[hidden]> wrote:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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