catch2/projects/SelfTest/UsageTests
Martin Hořeňovský b7b346c3e5
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
2020-03-19 09:45:41 +01:00
..
Approx.tests.cpp Add test for INF == Approx(1) 2019-10-04 14:19:39 +02:00
BDD.tests.cpp Add test for AND_GIVEN and update the baselines 2018-09-02 16:53:57 +02:00
Benchmark.tests.cpp Fix wrong namespacing of benchmarking constructor helpers 2019-11-21 16:22:04 +01:00
Class.tests.cpp tests for TEMPLATE_LIST_TEST_CASE 2019-06-15 15:40:39 +02:00
Compilation.tests.cpp Make warnings in assertions fire for GCC/Clang again 2020-03-19 09:45:41 +01:00
Condition.tests.cpp Enable Werror for dev builds 2017-11-21 18:55:28 +01:00
Decomposition.tests.cpp Add -Wmissing-declarations to the SelfTest project 2018-07-02 17:36:13 +02:00
EnumToString.tests.cpp Removed redundant ; 2019-04-27 18:50:05 +01:00
Exception.tests.cpp Suppress Wunreachable-code in floating matchers and exception tests 2018-09-01 22:34:29 +02:00
Generators.tests.cpp Add a from_range(Container) overload to the generator helpers 2019-10-09 14:51:36 +02:00
Matchers.tests.cpp Fix significant bug with storing composed matchers 2020-02-01 21:06:07 +01:00
Message.tests.cpp Allow quotes in CAPTURE arguments (#1608) 2019-05-01 19:12:44 +02:00
Misc.tests.cpp Rework how warning suppression in macros is done 2019-10-27 21:07:21 +01:00
ToStringByte.tests.cpp Add std::byte stringification support (#1686) 2019-07-13 14:47:56 +02:00
ToStringChrono.tests.cpp Add more weird chrono::duration stringification tests 2017-11-28 21:47:06 +01:00
ToStringGeneral.tests.cpp Refactor custom precision in floating point stringification 2019-05-03 15:38:06 +02:00
ToStringOptional.tests.cpp Add to string for std::optional 2019-01-31 15:35:13 +01:00
ToStringPair.tests.cpp All tests files have .tests.cpp suffix. Also moved tests out of TestMain.cpp and moved up a level 2017-11-13 16:03:27 +00:00
ToStringTuple.tests.cpp All tests files have .tests.cpp suffix. Also moved tests out of TestMain.cpp and moved up a level 2017-11-13 16:03:27 +00:00
ToStringVariant.tests.cpp Warning fixes in examples and tests 2019-10-31 14:29:59 +01:00
ToStringVector.tests.cpp Some refactorings: 2020-01-25 09:01:04 +01:00
ToStringWhich.tests.cpp Add -Wmissing-declarations to the SelfTest project 2018-07-02 17:36:13 +02:00
Tricky.tests.cpp stdio.h replaced with cstdio. 2020-02-08 14:27:40 +01:00
VariadicMacros.tests.cpp All tests files have .tests.cpp suffix. Also moved tests out of TestMain.cpp and moved up a level 2017-11-13 16:03:27 +00:00