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 20:50:59 +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
 


> Adam



Home | Main Index | Thread Index | Old Index