commit | b7b346c3e56030d19ac58d33326b69bbaf226552 | [log] [tgz] |
---|---|---|
author | Martin Hořeňovský <[email protected]> | Wed Mar 18 20:59:25 2020 +0100 |
committer | Martin Hořeňovský <[email protected]> | Thu Mar 19 09:45:41 2020 +0100 |
tree | 1a75042517e65540e55c6d2b2b863b19ffdc1ac1 | |
parent | 9e09d79946b0c4afd815341684c7c4dc4f40c20b [diff] |
Make warnings in assertions fire for GCC/Clang again 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
The latest version of the single header can be downloaded directly using this link
If you've been using an earlier version of Catch, please see the Breaking Changes section of the release notes before moving to Catch2. You might also like to read this blog post for more details.
Catch2 is a multi-paradigm test framework for C++. which also supports Objective-C (and maybe C). It is primarily distributed as a single header file, although certain extensions may require additional headers.
This documentation comprises these three parts: