<div class="gmail_quote">2011/9/28 Howard Hinnant <span dir="ltr"><<a href="mailto:hhinnant@apple.com" target="_blank">hhinnant@apple.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><br>
On Sep 28, 2011, at 10:56 AM, Ruben Van Boxem wrote:<br>
<br>
> Hi,<br>
><br>
> Attached is a file describing in detail what libc++ tests failed in my test run and why (if it could be easily deduced from comparing Clang/GCC output or from the helpful Clang error messages). I used a slightly modified testit, so that GCC (which doesn't use default a.out on Windows) could also run the tests. That patch could use some work, I'll keep it local for now.<br>


><br>
> The good news: a lot of these have trivial fixes, and the fault lies in the tests themselves (size of wchar_t, locale names, different number output format...).<br>
> The bad news: Making this document sucked, and I'm never doing it again.<br>
<br>
</div>Thanks for your work on this.<br>
<div><br>
><br>
> If in any way possible, thid could have a place in the libc++ source tree. It would make finding outstanding test failures and their reasons easy. Perhaps other platforms could then also keep track of failures. If not, I'll create a general bug report for libc++ and attach this document. I of course plan to keep this updated once fixes are applied.<br>


<br>
</div>There's a link off this page:<br>
<br>
<a href="http://libcxx.llvm.org/" target="_blank">http://libcxx.llvm.org/</a><br>
<br>
to:<br>
<br>
<a href="http://libcxx.llvm.org/results.Windows.html" target="_blank">http://libcxx.llvm.org/results.Windows.html</a><br></blockquote><div><br>Thanks for the free publicity :)<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">


<div><br>
><br>
> A small summarizing note:<br>
>  - thread needs attention, probably most failures are due to winpthreads.<br>
>  - io (actually most kinds of streams) needs attention, failures pops up everywhere.<br>
>  - lots of regex failures. Not good.<br>
>  - numerics has trouble with math functions. Perhaps a format issue.<br>
>  - stdint.h and uchar.h issues are being dealt with.<br>
><br>
> Re the last point: How does Clang handle __cplusplus and C++11?<br>
<br>
</div>#include <iostream><br>
<br>
int main()<br>
{<br>
    std::cout << __cplusplus << '\n';<br>
}<br>
<br>
Without -std=c++0x:<br>
<br>
1<br>
<br>
With -std=c++0x:<br>
<br>
201103<br></blockquote><div><br>Doh! Could've done that myself. Good to know Clang does it right at least, even though the support is still incomplete. <evil look at the GCC developers><br><br>Ruben<br> <br></div>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<br>
Howard<br>
<div><br>
><br>
> I'll be using this as a basis to further fix Windows issues, but I'll have less time from now on. It is a nice baseline status of libc++ on Windows. Help is always appreciated ;-)<br>
><br>
> Ruben<br>
</div>> <results.Windows>_______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br>
</blockquote></div><br>