mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 05:09:53 +01:00
60cfaa38fb
The old code caused warnings to fire under MSVC, and Clang <3.8. I could not find a GCC version where it worked, but I assume that it did at some point. This new code causes all of MSVC, GCC, Clang, in current versions, to emit signed/unsigned comparison warning in test like this: ```cpp TEST_CASE() { int32_t i = -1; uint32_t j = 1; REQUIRE(i != j); } ``` Where previously only MSVC would emit the warning. Fixes #1880 |
||
---|---|---|
.. | ||
CmdLine.tests.cpp | ||
Details.tests.cpp | ||
GeneratorsImpl.tests.cpp | ||
InternalBenchmark.tests.cpp | ||
PartTracker.tests.cpp | ||
RandomNumberGeneration.tests.cpp | ||
String.tests.cpp | ||
StringManip.tests.cpp | ||
Tag.tests.cpp | ||
ToString.tests.cpp | ||
Xml.tests.cpp |