Subject: Re: [boost] [inspect] Apple macro check
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2010-06-17 17:37:55
On Jun 17, 2010, at 9:40 AM, Doug Gregor wrote:
> On Thu, Jun 17, 2010 at 9:27 AM, Beman Dawes <bdawes_at_[hidden]> wrote:
>> On Thu, Jun 17, 2010 at 11:46 AM, Doug Gregor <doug.gregor_at_[hidden]> wrote:
>>> On Thu, Jun 17, 2010 at 8:19 AM, Daniel James <dnljms_at_[hidden]> wrote:
>>>> The apple macro errors in the inspect report are only really a problem
>>>> when certain apple headers are included. This never happens when we
>>>> can control which headers are included so I think it's only a problem
>>>> under the boost directory. So is it okay if I change inspect so that
>>>> it only checks for apple macros under 'boost'?
>>> What Apple macros are you referring to?
>> Apple has a header called <AssertMacros.h> that #defines both check
>> and check_error, and other similar names,
>> See https://svn.boost.org/trac/boost/ticket/2115
> Oh, that's horrible. Thanks for the clarification!
Here's the source for those macros:
Develop was an in-house Apple magazine about programming; quite good, actually.
Check out who was the author ;-)
Of course, it was 1992. We've all learned since then...
It amazes me that they're still in use, though - and that Apple still ships them as part of the developer tools.