Boost logo

Boost :

Subject: Re: [boost] [type_traits] extension has_operator_xxx - cv qualifiers and references
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-02-09 12:04:20


> 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
>
> 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 ?

I am compiliing againt 1.44. Can you try to bjam -d 2 so that we have
more information about the commands that are executed.
I have just tried a small example in VC++2010 and it works fine,
although there are plenty of warnings.
in linux, I have BOOST_BUILD_PATH pointing to
path_to_boost_1_44_0/tools/build/v2
I do not use the command line option --boost but it is probably the same?
maybe if I get a windows binary of bjam for windows, I can try the same as you.

Frédéric


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