|
Boost : |
Subject: Re: [boost] [teeks99][test] Test failures on MSVC 8-11
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2015-11-02 17:07:37
Le 02/11/15 22:53, Andrey Semashev a écrit :
> On 2015-11-03 00:45, Raffi Enficiaud wrote:
>>
>> Ok, I lied: I just installed msvc-11 and tested: some lines in
>> boost.test are failing:
>>
>> template<typename EnumType>
>> using enum_values = unit_test::static_constant<
>> nfp::typed_keyword<std::initializer_list<std::pair<const
>> cstring,EnumType>>, struct enum_values_t>
>> >;
>>
>> Those are scoped by
>>
>> #ifndef BOOST_NO_CXX11_AUTO_DECLARATIONS /.../
>>
>> but apparently this is not enough.
>
> BOOST_NO_CXX11_AUTO_DECLARATIONS says that the compiler does not support
> automatic variable type deduction:
>
> auto x = 10;
>
>> Not sure which of the boost.config we
>> should use there.
>
> You're using a template alias. The BOOST_NO_CXX11_TEMPLATE_ALIASES macro
> shows that the compiler lacks support for it, and it is defined for MSVC
> versions older than 12.
Thanks, fixed and testing now.
> [snip]
>> I am now adding MSVC-11 to our runners, and push a hot fix, and still
>> wondering why those columns were green last wednesday.
>
> Probably because the tests had not cycled by then?
I thought I triple checked, my mistake then. I will push to develop and
then to master once my runners are green (now including MSVC-11, but
nothing under 11 unfortunately). Should be ready in a couple of hours.
Raffi
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk