Is this change correct when targeting Windows?<br><br><div class="gmail_quote">On Sun, May 26, 2013 at 3:52 AM, Ed Schouten <span dir="ltr"><<a href="mailto:ed@80386.nl" target="_blank">ed@80386.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dmitri,<br>
<br>
2013/5/25 Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>:<br>
<div class="im">> Please add tests.  (Tests for these macros should probably go into<br>
> test/Preprocessor/init.c).<br>
<br>
</div>Added! (Please refresh)<br>
<br>
<a href="http://80386.nl/pub/clang-c11-uchar.txt" target="_blank">http://80386.nl/pub/clang-c11-uchar.txt</a><br>
<div class="im"><br>
> Should this be conditional on C11 or C++11?<br>
<br>
</div>Though these definitions are only part of C11/C++11, I think it would<br>
be safer to just define them unconditionally. For example, a piece of<br>
code assumes C11, but is not built with -std=c11, it may wrongly<br>
assume !defined(__STDC_MB_MIGHT_NEQ_WC__), which could have disastrous<br>
side-effects.<br>
<br>
--<br>
Ed Schouten <<a href="mailto:ed@80386.nl">ed@80386.nl</a>><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br>