Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#2306 closed Bugs (fixed)

boost regex lib problems with ObjectiveC++

Reported by: Peter Köllner <peter@…> Owned by: John Maddock
Milestone: Boost 1.37.0 Component: regex
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (3)

comment:1 by John Maddock, 14 years ago

Resolution: fixed
Status: newclosed

(In [48751]) Fixes #2306. Change "id" to "state_id".

comment:2 by Martin.Barbisch@…, 13 years ago

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.

comment:3 by John Maddock, 12 years ago

(In [61789]) Change "id" to "idx" to be Objective C++ compatible. Fixes #2306. Fixes #4132. Fixes #4191.

Note: See TracTickets for help on using tickets.