Subject: [ggl] Re: problems with Boost Geometry Xcode compile?
From: Mateusz Loskot (mateusz)
Date: 2010-09-04 14:38:26
On 09/03/10 21:31, Stjepan Rajko wrote:
> On Tue, Mar 9, 2010 at 2:21 PM, Mark McCann <mmccann_at_[hidden]
> <mailto:mmccann_at_[hidden]>> wrote:
> Now that we've figured that out, do you have any idea at to what the
> fix would be? My #undef hack seems to work ok, but this is an ugly
> As Mateusz hinted, it is Apple's use of a "check" macro that is
> causing ugliness. Can you include boost geometry stuff before you
> include the offending header file?
Andrew James posted comment to my blog post about this issue and it look
there is a dedicated macro that should fix this problem.
Here is Andrew's comment pasted
Sorry if this is old news, I just happened to stumble across your post
today after finding the answer to this: by setting the macro
before including the Carbon headers, it will undefine the bad Apple
(i.e., non-underscored) macros. See the comments (about 3/4 of the way
-- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org
Geometry list run by mateusz at loskot.net