Enable the -Wsign-compare warning to better support MSVC

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-12-11 05:31:00 +00:00
parent 47dfc5940d
commit a2cd270943
67 changed files with 322 additions and 290 deletions

View File

@@ -39,7 +39,7 @@ test()
if (sizeof(T) <= sizeof(std::size_t))
{
const std::size_t result = h(t);
LIBCPP_ASSERT(result == t);
LIBCPP_ASSERT(result == static_cast<size_t>(t));
((void)result); // Prevent unused warning
}
}