Boost logo

Boost Users :

Subject: Re: [Boost-users] Compilation problem with has_binary_operator.hpp on Mac OSX
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-12-28 00:03:37


On Dec 27, 2013, at 5:31 AM, John Maddock <john_at_[hidden]> wrote:

>> /users/tim/developer/libraries/boost_1_55_0/boost/type_traits/detail/has_bin
>> ary_operator.hpp:155: error: expected unqualified-id before 'do'
>
>> That's strange as there is no 'do' in that file.
>> Could you make a minimal example that we could test?
>
> I would suspect that "check" is defined as a macro on that platform: I seem to remember having to fix this in some other traits classes.

This is exactly right.
See https://svn.boost.org/trac/boost/ticket/6219

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


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