Boost C++ Libraries: Ticket #2306: boost regex lib problems with ObjectiveC++ https://svn.boost.org/trac10/ticket/2306 <p> Hi. In ($PREFIX)/include/boost-1_36/boost/regex/v4/cpp_regex_traits, lines 802-804 and perl_matcher.hpp, line 251 and following in the same directory there are variables named "id" which breaks compatibility with Objective-C++. Please change "id" as a variable name wherevere it is used, since it means major trouble when integrating platform independend boost based libraries with a Cocoa frontend on Mac Os X, for example. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2306 Trac 1.4.3 John Maddock Fri, 12 Sep 2008 12:40:27 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2306#comment:1 https://svn.boost.org/trac10/ticket/2306#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/48751" title="Fixes #2306. Change &#34;id&#34; to &#34;state_id&#34;.">[48751]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2306" title="#2306: Bugs: boost regex lib problems with ObjectiveC++ (closed: fixed)">#2306</a>. Change "id" to "state_id". </p> Ticket Martin.Barbisch@… Mon, 22 Feb 2010 10:11:08 GMT <link>https://svn.boost.org/trac10/ticket/2306#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2306#comment:2</guid> <description> <p> basic_regex_creator.hpp and perl_matcher_common.hpp in v1.40 and v1.42 still (again?) contain variables named 'id'. Also checked revision 59839. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Wed, 05 May 2010 17:40:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2306#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2306#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61789" title="Change &#34;id&#34; to &#34;idx&#34; to be Objective C++ compatible. Fixes #2306. ...">[61789]</a>) Change "id" to "idx" to be Objective C++ compatible. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2306" title="#2306: Bugs: boost regex lib problems with ObjectiveC++ (closed: fixed)">#2306</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4132" title="#4132: Patches: Use of &#34;id&#34; as a variable name makes Boost unusable in Objective-C++ (closed: fixed)">#4132</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4191" title="#4191: Patches: c++ library using regex included in objective-c needs rename of variable id (closed: fixed)">#4191</a>. </p> </description> <category>Ticket</category> </item> </channel> </rss>