pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc



From: Adam Ciarciński <adam%NetBSD.org@localhost>, Date: Sat, 18 Apr 2015 21:07:10 +0200

>>>> What are your compiler and platform?
>>> 
>>> NetBSD-current and Darwin with Clang.
>> 
>> Thank you.
>> It seems that gcc 4.8.4 does not support index_sequence of C++14.
>> 
>> Following patch is workaround.
>> 
>> $NetBSD$
>> 
>> --- boost/context/detail/config.hpp.orig     2015-04-04 17:31:00.000000000 +0000
>> +++ boost/context/detail/config.hpp
>> @@ -66,7 +66,8 @@
>>     defined( BOOST_NO_CXX11_RVALUE_REFERENCES) || \
>>     defined( BOOST_NO_CXX11_VARIADIC_MACROS) || \
>>     defined( BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \
>> -    defined( BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES) 
>> +    defined( BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES) || \
>> +    (defined(__GNUC__) && __GNUC__ <= 4 && __GNUC_MINOR__ < 9)
>> # define BOOST_CONTEXT_NO_EXECUTION_CONTEXT
>> #endif
> 
> Can you commit it, please?
> I don't have GCC on my systems. Even GCC does not build when I am building NetBSD-current with LLVM.

I have just committed.
Thank you.

> Thanks :)
> Adam

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



Home | Main Index | Thread Index | Old Index