mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
boost: 1.63 Revision 2 - Fixed Regression
This commit fixes an existent regression in boost 1.63 [1]. The regression appears when libc is used for the toolchain. [1] - https://svn.boost.org/trac/boost/ticket/11756 Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
Index: boost_1_63_0/boost/test/impl/execution_monitor.ipp
|
||||
===================================================================
|
||||
--- boost_1_63_0.orig/boost/test/impl/execution_monitor.ipp
|
||||
+++ boost_1_63_0/boost/test/impl/execution_monitor.ipp
|
||||
@@ -1375,7 +1375,7 @@ enable( unsigned mask )
|
||||
#endif
|
||||
|
||||
return ~old_cw & BOOST_FPE_ALL;
|
||||
-#elif defined(__GLIBC__) && defined(__USE_GNU)
|
||||
+#elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
|
||||
if (BOOST_FPE_ALL == BOOST_FPE_OFF)
|
||||
/* Not Implemented */
|
||||
return BOOST_FPE_OFF;
|
||||
@@ -1415,7 +1415,7 @@ disable( unsigned mask )
|
||||
#endif
|
||||
|
||||
return ~old_cw & BOOST_FPE_ALL;
|
||||
-#elif defined(__GLIBC__) && defined(__USE_GNU)
|
||||
+#elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
|
||||
if (BOOST_FPE_ALL == BOOST_FPE_OFF)
|
||||
/* Not Implemented */
|
||||
return BOOST_FPE_INV;
|
||||
Reference in New Issue
Block a user