Boost logo

Boost :

Subject: Re: [boost] [type_traits] extension has_operator_xxx - cv qualifiers and references
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-02-09 09:35:57


On 2/8/2011 3:55 PM, Frédéric Bron wrote:
>> I would be willing to run the tests using VC8, VC9, and VC10.
>>
>> I wonder if you could create a target in the test jamfile just for the
>> operatory traits on which you are working, since I would like to focus in my
>> test on just the operator traits.
>
> Done in revision r68732 of the sandbox. If you go in
> sandbox/type_traits/libs/type_traits/test
> $ bjam operators
>
> Frédéric
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

Running this command line:

bjam --boost=C:/Programming/VersionControl/boost toolset=msvc-10.0 operators

from the test directory I get many lines like:

compile-c-c++
..\bin.v2\test\has_operator_multiplies_test.test\msvc-10.0\debug\threading-multi\has_operator_multiplies_test.obj
has_operator_multiplies_test.cpp
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2065: 'has_operator_multiplies' : undeclared identifier
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2065: 'LHS' : undeclared identifier
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2065: 'RHS' : undeclared identifier
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2065: 'LHS' : undeclared identifier
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2065: 'RET' : undeclared identifier
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2062: type 'void' unexpected
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2065: 'LHS' : undeclared identifier
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2065: 'RHS' : undeclared identifier
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2065: 'RET' : undeclared identifier
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(147)
: error C2955:
'boost::detail::has_operator_multiplies_impl::has_operator_multiplies_impl'
: use of class template requires template argument list
 
C:\Programming\VersionControl\sandbox\type_traits\boost/type_traits/detail/has_binary_operator.hpp(136)
: see declaration of
'boost::detail::has_operator_multiplies_impl::has_operator_multiplies_impl'

etc. etc.

Obviously something in the jamfile is not correct. I am pointing in my
--boost parameter to bjam to my Boost tree of the trunk in SVN. Should I
run against Boost 1.4.5 instead ?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk