Re: [Boost-bugs] [Boost C++ Libraries] #5010: Fusion will now compile under Objective-C++

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5010: Fusion will now compile under Objective-C++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-15 19:20:28


#5010: Fusion will now compile under Objective-C++
---------------------------------------------+------------------------------
  Reporter: Brian Doig <Brian.Doig@…> | Owner: djowel
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: fusion
   Version: Boost 1.45.0 | Severity: Showstopper
Resolution: | Keywords:
---------------------------------------------+------------------------------

Comment (by justacec@…):

 I have recently encountered this problem with Snow Leopard, Xcode 4.4.1,
 and Boots 1.50.0. I am not sure what the final answer will be to this but
 right now I have done the following:


 {{{
 #define nil Boost_nil
 #define Nil Boost_Nil
 <All of my boost header files>
 #undef Nil
 #undef nil
 }}}

 It might possibly be better to do the following instead based on the
 earlier response:

 {{{
 #define nil Boost_nil
 #define Nil Boost_Nil
 <All of my boost header files>
 #define Nil __DARWIN_NULL
 #define nil __DARWIN_NULL
 }}}

 The main problem here is that I am getting warnings, which I do not like
 to see, in my Xcode compiles.

 Ohh, the drama...

 Is there any progress on getting this fixed up?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5010#comment:11>
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:10 UTC