Re: [Boost-bugs] [Boost C++ Libraries] #6767: Use of namespace qualifier with floating point exception functions breaks if they are macros

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6767: Use of namespace qualifier with floating point exception functions breaks if they are macros
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-14 13:33:39


#6767: Use of namespace qualifier with floating point exception functions breaks
if they are macros
-------------------------------+---------------------
  Reporter: jewillco | Owner: rogeeff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: test
   Version: Boost 1.48.0 | Severity: Problem
Resolution: wontfix | Keywords:
-------------------------------+---------------------

Comment (by Jonathan Wakely <jwakely.boost@…>):

 This breaks building Boost on ppc64, where feclearexcept is defined as a
 macro:

 https://bugzilla.redhat.com/show_bug.cgi?id=1262444

 The problem is that libs/test/src/execution_monitor.cpp is compiled by
 Boost.Build (so setting {{{__NO_MATH_INLINES}}} should not be necessary,
 it should just build) and is compiled as C++03, so GCC's <fenv.h> does not
 #undef the macros because <fenv.h> is not defined by the C++03 standard
 library so its effects are an implementation-defined extension to the
 standard.

 Please reconsider the wontfix resolution.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6767#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC