Boost logo

Boost Users :

Subject: Re: [Boost-users] Some boost headers use Objective-C keywords
From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2012-12-30 17:24:55


On 12/28/2012 9:45 AM, Reiche, Albert F (Albert) wrote:
> I am using boost 1.49.0. An example of this is boost\local.hpp" which
> includes "boost\locale\message.hpp" which defines "id" (an Objective-C
> keyword) as a local variable in one of its inline functions. This
> causes an issue when boost headers are included in any code that is
> parsed by the Objective-C compiler and makes it impossible to include
> some boost headers directly in Objective-C source files. Would be nice
> if you could avoid using Objective-C keywords in all public headers.
>
> Albert

I believe you need to do something like this:
http://lists.apple.com/archives/objc-language/2004/Dec/msg00060.html


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net