[patch] [libcxx] __config cheeky macro redefinition workaround

G M gmisocpp at gmail.com
Wed Oct 9 10:22:26 PDT 2013


MS's yvals.h defines _NOEXCEPT to be the same thing as libcxx defines it -
except for a slight white space difference.

This result is msvc generates a lot of macro redefinition warnings because
it think's  libcxx is redefining  _NOEXCEPT to something different when it
isn't different other than by a space.

This patch cheekily add's the space to libcxx's definition to make it
identical to MS's, This makes all of the warnings go away..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131010/5d8d0b49/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: __config.diff
Type: application/octet-stream
Size: 379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131010/5d8d0b49/attachment.obj>


More information about the cfe-commits mailing list