David Abrahams | 14 Oct 20:35
Picon
Picon
Favicon
Gravatar

Re: Ticket #2115 Avoid bad Apple macros


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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Gmane