[cfe-dev] Libc++ Windows Semi-analyzed test results
Douglas Gregor
dgregor at apple.com
Wed Sep 28 09:36:43 PDT 2011
On Sep 28, 2011, at 8:48 AM, Howard Hinnant wrote:
>
> On Sep 28, 2011, at 10:56 AM, Ruben Van Boxem wrote:
>
>> Hi,
>>
>> 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.
>>
>> 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...).
>> The bad news: Making this document sucked, and I'm never doing it again.
>
> Thanks for your work on this.
>
>>
>> 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.
>
> There's a link off this page:
>
> http://libcxx.llvm.org/
>
> to:
>
> http://libcxx.llvm.org/results.Windows.html
>
>>
>> A small summarizing note:
>> - thread needs attention, probably most failures are due to winpthreads.
>> - io (actually most kinds of streams) needs attention, failures pops up everywhere.
>> - lots of regex failures. Not good.
>> - numerics has trouble with math functions. Perhaps a format issue.
>> - stdint.h and uchar.h issues are being dealt with.
>>
>> Re the last point: How does Clang handle __cplusplus and C++11?
>
> #include <iostream>
>
> int main()
> {
> std::cout << __cplusplus << '\n';
> }
>
> Without -std=c++0x:
>
> 1
With -std=c++98:
199711
(The definition of __cplusplus in the default gnu98 mode is is an old G++'ism Clang emulates)
> With -std=c++0x:
>
> 201103
>
> Howard
>
>>
>> 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 ;-)
>>
>> Ruben
>> <results.Windows>_______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list