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

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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120826/7d414e75/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Emulate-MSVC-s-preprocessor-macro-argument-separator.patch
Type: application/octet-stream
Size: 3005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120826/7d414e75/attachment.obj>


More information about the cfe-commits mailing list