14 Oct 20:35
Re: Ticket #2115 Avoid bad Apple macros
David Abrahams <dave <at> boostpro.com>
2008-10-14 18:35:58 GMT
2008-10-14 18:35:58 GMT
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
>>>
>>> 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.
RSS Feed