|
Geometry : |
Subject: [ggl] Re: problems with Boost Geometry Xcode compile?
From: Stjepan Rajko (stjepan.rajko)
Date: 2010-03-09 16:01:48
On Tue, Mar 9, 2010 at 12:58 PM, Mark McCann <mmccann_at_[hidden]> wrote:
>
> OK. So I figured out that there must be a macro in the wxWidgets library
> for
> the symbol "check." I know this since writing:
> #ifdef check
> #undef check
> #endif
> #include <boost/geometry/geometry.hpp>
>
> fixed the issue. I don't think this in my code specifically because I
> tried
> it in two different wx projects. Anybody know how to track down exactly
> where a macro is defined? If this is a problem in wxWidgets, then this
> might impact a lot of potential C++ projects that use Boost.Geometry.
>
This could be an Apple macro from AssertMacros.h (which might in turn get
included by wxWidgets).
Best,
Stjepan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20100309/c36774c9/attachment.html
Geometry list run by mateusz at loskot.net