Re: [Boost-bugs] [Boost C++ Libraries] #10471: Boost.Geometry fails to compile when OS X AssertMacros.h are included

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10471: Boost.Geometry fails to compile when OS X AssertMacros.h are included
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-14 21:59:51


#10471: Boost.Geometry fails to compile when OS X AssertMacros.h are included
---------------------------------------+---------------------------
  Reporter: Robert Xiao <nneonneo@…> | Owner: barendgehrels
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+---------------------------

Comment (by rsf@…):

 In the cited Apple header file !AssertMacros.h there is a note that
 defining the macro !__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES as
 0 will suppress the definition of the conflicting macro names, in favor of
 more portable names (e.g. !__Check). (It is further noted that this will
 be the default in a future version of !AssertMacros.h; until then the
 recommendation is for the user to add this definition to their compiler
 options.)

 Perhaps documenting this workaround will be adequate.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10471#comment:1>
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:17 UTC