]>
Commit | Line | Data |
---|---|---|
cbe7d7b5 SS |
1 | commit 2f3b98e640c25fe45ae691a5aa950745380b983e |
2 | Author: Jonathan Wakely <jwakely@redhat.com> | |
3 | Date: Mon Sep 14 15:05:24 2015 +0100 | |
4 | ||
5 | Do not qualify <fenv.h> names that might be macros. | |
6 | ||
7 | diff --git a/include/boost/test/impl/execution_monitor.ipp b/include/boost/test/impl/execution_monitor.ipp | |
8 | index 3a9e779..8b319df 100644 | |
9 | --- a/include/boost/test/impl/execution_monitor.ipp | |
10 | +++ b/include/boost/test/impl/execution_monitor.ipp | |
11 | @@ -1380,8 +1380,8 @@ enable( unsigned mask ) | |
12 | ||
13 | return ~old_cw & BOOST_FPE_ALL; | |
14 | #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H) | |
15 | - ::feclearexcept(BOOST_FPE_ALL); | |
16 | - int res = ::feenableexcept( mask ); | |
17 | + feclearexcept(BOOST_FPE_ALL); | |
18 | + int res = feenableexcept( mask ); | |
19 | return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res; | |
20 | #else | |
21 | /* Not Implemented */ | |
22 | @@ -1417,8 +1417,8 @@ disable( unsigned mask ) | |
23 | ||
24 | return ~old_cw & BOOST_FPE_ALL; | |
25 | #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H) | |
26 | - ::feclearexcept(BOOST_FPE_ALL); | |
27 | - int res = ::fedisableexcept( mask ); | |
28 | + feclearexcept(BOOST_FPE_ALL); | |
29 | + int res = fedisableexcept( mask ); | |
30 | return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res; | |
31 | #else | |
32 | /* Not Implemented */ |