|
Boost Users : |
Subject: Re: [Boost-users] Compilation problem with has_binary_operator.hpp on Mac OSX
From: Tim Burgess (tim_at_[hidden])
Date: 2014-01-10 11:08:49
OK,
This fix worked for me in clearing the issue around has_binary. However, I'm
still having a problem. The module I'm trying to build is an objective-c++
framework and, due to an earlier problem around anonymous enumerations, I
was told to use a later version of GCC than Apple's provided version. For
this reason I configured GCC 4.8.2 from MacPorts and set up a compiler
plug-in for Xcode 4.6 to build my framework using this version of the
compiler. I now appear to be in a Catch 22 scenario as GCC 4.8 apparently
does not support C blocks, giving me the following first error:
NSTask.h:69: Expected unqualified-id before '^'
I can clear this by reverting to Apple's GCC 4.2, but then I'll get
anonymous enum errors in Boost's decay.h.
I'm now way out of my depth and experience, so can anybody please offer any
help out of my dilemma?
Best wishes.
Tim Burgess
-----Original Message-----
From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
Tim Burgess
Sent: 08 January 2014 13:18
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Compilation problem with has_binary_operator.hpp
on Mac OSX
OK, that makes sense now, so I'll give it a try.
Many thanks for the clarification.
Best wishes.
Tim Burgess
-----Original Message-----
From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
Nat Goodspeed
Sent: 08 January 2014 12:55
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Compilation problem with has_binary_operator.hpp
on Mac OSX
On Jan 8, 2014, at 7:28 AM, "Tim Burgess" <tim_at_[hidden]> wrote:
> Can you be more explicit as to what I can do to get around this issue,
> please?
I believe the advice is:
Before your first Boost #include, add code like this:
#ifdef check
#undef check
#endif
>
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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