mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +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 |
||
---|---|---|
.. | ||
Baselines | ||
CompileTimePerfTests | ||
IntrospectiveTests | ||
Misc | ||
UsageTests | ||
TestMain.cpp | ||
WarnAboutNoTests.cmake |