Boost logo

Boost :

Subject: Re: [boost] [test] A new ERROR in trunk including C++11 features on C++98 mode
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-11-09 19:54:23


Le 10/11/12 01:48, Vicente J. Botet Escriba a écrit :
> Le 10/11/12 00:43, Vicente J. Botet Escriba a écrit :
>> Le 09/11/12 19:58, Gennadiy Rozental a écrit :
>>> Vicente J. Botet Escriba <vicente.botet <at> wanadoo.fr> writes:
>>>> there are yet new warnings.
>>> I'll fix these tonight
>>>
>>>
>>>
>> Please could you take care also of this error,
>>
>
> Humm, forget the last message. I was compiling with clang c++11 and
> libstdc which is not c++11 compliant. It works with libc++.
Hrrr, unfortunately doesn't works with libc++ neither.
>
>> clang-darwin.compile.c++
>> ../../../bin.v2/libs/thread/test/test_thread_launching.test/clang-darwin-3.1xl/debug/threading-multi/test_thread_launching.o
>> In file included from test_thread_launching.cpp:9:
>> In file included from ../../../boost/test/unit_test.hpp:19:
>> In file included from ../../../boost/test/test_tools.hpp:373:
>> In file included from ../../../boost/test/tools/impl.hpp:25:
>> ../../../boost/test/tools/assertion.hpp:158:1: error: expected ')'
>> BOOST_TEST_FOR_EACH_CONST_OP( DEFINE_CONST_OPER )
>> ^
>> ../../../boost/test/tools/assertion.hpp:90:13: note: expanded from
>> macro 'BOOST_TEST_FOR_EACH_CONST_OP'
>> action( >>, RSH, >> ) \
>> ^
>> ../../../boost/test/tools/assertion.hpp:135:33: note: expanded from
>> macro 'DEFINE_CONST_OPER'
>> typedef DEDUCE_RESULT_TYPE( oper ) result_type; \
>> ^
>> ../../../boost/test/tools/assertion.hpp:126:103: note: expanded from
>> macro 'DEDUCE_RESULT_TYPE'
>> # define DEDUCE_RESULT_TYPE( oper ) typename
>> boost::remove_reference<decltype(boost::declval<Lhs>() oper
>> boost::declval<Rhs>() )>::type
>> ^
>> ../../../boost/test/tools/assertion.hpp:158:31: note: to match this '('
>> BOOST_TEST_FOR_EACH_CONST_OP( DEFINE_CONST_OPER )
>> ^
>> ../../../boost/test/tools/assertion.hpp:90:5: note: expanded from
>> macro 'BOOST_TEST_FOR_EACH_CONST_OP'
>> action( >>, RSH, >> ) \
>> ^
>> ../../../boost/test/tools/assertion.hpp:135:13: note: expanded from
>> macro 'DEFINE_CONST_OPER'
>> typedef DEDUCE_RESULT_TYPE( oper ) result_type; \
>> ^
>> ../../../boost/test/tools/assertion.hpp:126:80: note: expanded from
>> macro 'DEDUCE_RESULT_TYPE'
>> # define DEDUCE_RESULT_TYPE( oper ) typename
>> boost::remove_reference<decltype(boost::declval<Lhs>() oper
>> boost::declval<Rhs>() )>::type
>> ^
>>
>>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost
>>
>


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