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

Aaron Ballman aaron at aaronballman.com
Sun Aug 26 15:13:23 PDT 2012


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
>




More information about the cfe-commits mailing list