catch2/tests/SelfTest/UsageTests
Martin Hořeňovský 60cfaa38fb
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-04-29 21:27:57 +02:00
..
Approx.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
BDD.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
Benchmark.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Class.tests.cpp Split TEMPLATE_TEST* macros into their own set of files 2020-04-26 16:25:43 +02:00
Compilation.tests.cpp Make warnings in assertions fire for GCC/Clang again 2020-04-29 21:27:57 +02:00
Condition.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Decomposition.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
EnumToString.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Exception.tests.cpp Standardize matcher headers to use .hpp suffix 2020-03-27 10:22:25 +01:00
Generators.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Matchers.tests.cpp Fix and extend tests for composing generic matchers 2020-03-29 14:03:12 +02:00
MatchersRanges.tests.cpp Add IsEmpty and SizeIs matchers for ranges/containers 2020-03-27 10:24:08 +01:00
Message.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
Misc.tests.cpp Split TEMPLATE_TEST* macros into their own set of files 2020-04-26 16:25:43 +02:00
ToStringByte.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringChrono.tests.cpp Unconditionally provide <chrono> StringMakers 2020-02-03 20:53:36 +01:00
ToStringGeneral.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringOptional.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringPair.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringTuple.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringVariant.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringVector.tests.cpp Remove catch.hpp 2020-03-29 21:32:13 +02:00
ToStringWhich.tests.cpp Remove testing of CATCH_CONFIG_FALLBACK_STRINGIFIER from SelfTest 2020-01-21 15:14:24 +01:00
Tricky.tests.cpp stdio.h replaced with cstdio. 2020-02-16 16:05:30 +01:00
VariadicMacros.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00