Search
SailfishOS Open Build Service
>
Projects
>
home:marmistrz
:
swiften
>
boost-opt
> _service:tar_git:boost-1.59-test-fenv.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:boost-1.59-test-fenv.patch of Package boost-opt
commit 2f3b98e640c25fe45ae691a5aa950745380b983e Author: Jonathan Wakely <jwakely@redhat.com> Date: Mon Sep 14 15:05:24 2015 +0100 Do not qualify <fenv.h> names that might be macros. diff --git a/libs/test/include/boost/test/impl/execution_monitor.ipp b/libs/test/include/boost/test/impl/execution_monitor.ipp index 3a9e779..8b319df 100644 --- a/libs/test/include/boost/test/impl/execution_monitor.ipp +++ b/libs/test/include/boost/test/impl/execution_monitor.ipp @@ -1380,8 +1380,8 @@ enable( unsigned mask ) return ~old_cw & BOOST_FPE_ALL; #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H) - ::feclearexcept(BOOST_FPE_ALL); - int res = ::feenableexcept( mask ); + feclearexcept(BOOST_FPE_ALL); + int res = feenableexcept( mask ); return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res; #else /* Not Implemented */ @@ -1417,8 +1417,8 @@ disable( unsigned mask ) return ~old_cw & BOOST_FPE_ALL; #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H) - ::feclearexcept(BOOST_FPE_ALL); - int res = ::fedisableexcept( mask ); + feclearexcept(BOOST_FPE_ALL); + int res = fedisableexcept( mask ); return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res; #else /* Not Implemented */