|
Boost : |
Subject: Re: [boost] Ticket #2115 Avoid bad Apple macros
From: David Abrahams (dave_at_[hidden])
Date: 2008-10-14 14:35:58
on Tue Oct 14 2008, "John Maddock" <john-AT-johnmaddock.co.uk> wrote:
> Steven Watanabe wrote:
>>>> Heh, I forgot about that one. Suppose we just
>>>>
>>>> #define check BOOST_PREVENT_MACRO_SUBSTITUION check
>>>>
>>>> ? ;-)
>>>
>>> Won't that cause macro redefinition errors? Also, how is it
>>> different from
>>>
>>> #define check check
>
> In fact it's not really any different from:
>
> #undef check
>
> is it?
Programmers are such literalists. I assumed you would not take that
suggestion seriously, given the winky.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk