Created attachment 9682 [details] test_files Last month, I used clang++3.2 + libcxx + libcxxabi compiling the testsuites of STLport-5.2.1 on linux, I found a problem involving some static const data memebers of class numeric_limits each with a initializer but not defined out of class body, so it caused link error: undefined reference to `std::__1::numeric_limits<int>::is_specialized'. Later I reported it at clang developer forum: http://clang-developers.42468.n3.nabble.com/libcxx-problem-involving-static-const-data-members-of-class-numeric-limits-td4028564.html Now I find some other same bugs, it involved the following classes: <chrono>: chrono::system_clock chrono::steady_clock <limits>: numeric_limits <__locale>: locale ctype_base <locale>: moneypunct <random>: linear_congruential_engine mersenne_twister_engine subtract_with_carry_engine discard_block_engine shuffle_order_engine <regex>: basic_regex I have written some test files in the attachment. And a fixed patch file in another attachment later.
Created attachment 9683 [details] patch_file This is a patch file.
Thanks for the tests and patch. Would you be willing to have your tests copyrighted by the libc++ MIT/University of Illinois copyright system? This would involve you adding your name/info to CREDITS.TXT.
Fix Committed revision 170026. Really nice job on the patch. I'd still like to see an update to CREDITS.TXT. Thanks.
Created attachment 9689 [details] CREDITS.patch
(In reply to comment #2) > Thanks for the tests and patch. > > Would you be willing to have your tests copyrighted by the libc++ > MIT/University of Illinois copyright system? This would involve you adding > your name/info to CREDITS.TXT. I'm glad to have my tests copyrighted by the libc++ MIT/University of Illinois copyright system.