Re: [Boost-bugs] [Boost C++ Libraries] #4191: c++ library using regex included in objective-c needs rename of variable id

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4191: c++ library using regex included in objective-c needs rename of variable id
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-30 10:23:22


#4191: c++ library using regex included in objective-c needs rename of variable id
--------------------------------+-------------------------------------------
  Reporter: lydisworld@… | Owner: chris_kohlhoff
      Type: Patches | Status: reopened
 Milestone: Boost 1.43.0 | Component: asio
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-------------------------------------------

Comment (by anonymous):

 Sorry, in the above comment, there is a typo: [[BR]]
 warnings ("warning: ignoring #pragma pop_macro", "warning: ignoring
 #pragma pop_macro") [[BR]]
 --> [[BR]]
 warnings ("warning: ignoring #pragma push_macro", "warning: ignoring
 #pragma pop_macro") [[BR]]

 In Objective-C++, "id" is a typedef and not a macro. [[BR]]
 So unless the user #define's "id", [[BR]]
 '#pragma push_macro("id")' in push_options.hpp and
 '#pragma pop_macro("id")' in pop_options.hpp do not make any effect,
 [[BR]]
 and thus the macro '#define id cpp_id' in push_options.hpp is still valid
 after pop_macro. [[BR]]

 Ditto for "Protocol".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4191#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:04 UTC