Weirdly I had to undo this locally for compiling against VS2010 headers! It seems r113126 introduced it to "Tell the VS headers that char16_t and char32_t are keywords, so yvals.h doesn't try to define them as typedefs."<div>
<br></div><div>I can only assume something else has changed in the meantime...?</div><div><br></div><div>- Will.<br><br><div class="gmail_quote">On 25 August 2012 17:32, Joćo Matos <span dir="ltr"><<a href="mailto:ripzonetriton@gmail.com" target="_blank">ripzonetriton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This fixed some parsing problems with VS 2012 headers for me.<div><br></div><div>Anyone remember why this was added in the first place? I don't have VS 2010 installed, so I can't test if it breaks something there.<div>
<div class="h5"><br>

<br><div class="gmail_quote">On Sat, Aug 25, 2012 at 6:27 AM, Francois Pichet <span dir="ltr"><<a href="mailto:pichet2000@gmail.com" target="_blank">pichet2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Author: fpichet<br>
Date: Sat Aug 25 00:27:04 2012<br>
New Revision: 162641<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=162641&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=162641&view=rev</a><br>
Log:<br>
_HAS_CHAR16_T_LANGUAGE_SUPPORT is not predefined MSVC macro.<br>
<br>
Modified:<br>
    cfe/trunk/lib/Frontend/InitPreprocessor.cpp<br>
<br>
Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitPreprocessor.cpp?rev=162641&r1=162640&r2=162641&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitPreprocessor.cpp?rev=162641&r1=162640&r2=162641&view=diff</a><br>



==============================================================================<br>
--- cfe/trunk/lib/Frontend/InitPreprocessor.cpp (original)<br>
+++ cfe/trunk/lib/Frontend/InitPreprocessor.cpp Sat Aug 25 00:27:04 2012<br>
@@ -429,10 +429,6 @@<br>
       Builder.append("#define __identifier(x) x");<br>
       Builder.append("class type_info;");<br>
     }<br>
-<br>
-    if (LangOpts.CPlusPlus0x) {<br>
-      Builder.defineMacro("_HAS_CHAR16_T_LANGUAGE_SUPPORT", "1");<br>
-    }<br>
   }<br>
<br>
   if (LangOpts.Optimize)<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Joćo Matos<br>
</font></span></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br><br>
</div>