pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc
>>> 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.
Thanks :)
Adam
Home |
Main Index |
Thread Index |
Old Index