[cfe-commits] [patch] Emulate MSVC's preprocessor macro argument separator behavior

João Matos ripzonetriton at gmail.com
Sun Aug 26 15:22:29 PDT 2012


Only thing I found is one bug report about it on MSDN:
http://social.msdn.microsoft.com/Forums/pl-PL/vclanguage/thread/23f682bf-8421-474a-aa38-e32f9a0b728f

On Sun, Aug 26, 2012 at 11:13 PM, Aaron Ballman <aaron at aaronballman.com>wrote:

> I don't suppose this behavior is documented anywhere on MSDN, is it?
>
> ~Aaron
>
> On Sun, Aug 26, 2012 at 5:29 PM, João Matos <ripzonetriton at gmail.com>
> wrote:
> > Attached is a patch that implements an odd MSVC behaviour when handling
> > commas that come from nested macro expansions.
> >
> > This behavior is well explained in the following post:
> >
> >
> http://stackoverflow.com/questions/11469462/difference-between-gcc-and-microsoft-preprocessor
> >
> > This is needed to correctly handle the new standard library headers in VS
> > 2012.
> >
> >
> > --
> > João Matos
> >
> > _______________________________________________
> > cfe-commits mailing list
> > cfe-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> >
>



-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120826/e721b2af/attachment.html>


More information about the cfe-commits mailing list