mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
06cf2a4724
* Apply PR #2297 to devel branch It turns out that Issue #2272 partially affected the devel branch. When building tests with C++20, the compiler emits a warning that top-level comma expressions in array subscripts are depricated. Warnings are treated as errors, so this caused the build to fail. This commit adds localized warning suppression in accordance with this recommendation here: https://github.com/catchorg/Catch2/pull/2297#discussion_r720848392 Signed-off-by: Alecto Irene Perez <perez.cs@pm.me> * Fixed unknown pragma warning on old versions of gcc & clang This commit fixes an unkwown pragma warning on older versions of GCC and Clang. These older versions don't have a warning for depricated use of the comma subscript. Because warning suppression is localized, and only refers to the comma subscript warning, it doesn't affect compiler warnings in other parts of the code. Signed-off-by: Alecto Irene Perez <perez.cs@pm.me> * More #warning backwards compatibility fixes Signed-off-by: Alecto Irene Perez <perez.cs@pm.me> |
||
---|---|---|
.. | ||
Approx.tests.cpp | ||
BDD.tests.cpp | ||
Benchmark.tests.cpp | ||
Class.tests.cpp | ||
Compilation.tests.cpp | ||
Condition.tests.cpp | ||
Decomposition.tests.cpp | ||
EnumToString.tests.cpp | ||
Exception.tests.cpp | ||
Generators.tests.cpp | ||
Matchers.tests.cpp | ||
MatchersRanges.tests.cpp | ||
Message.tests.cpp | ||
Misc.tests.cpp | ||
ToStringByte.tests.cpp | ||
ToStringChrono.tests.cpp | ||
ToStringGeneral.tests.cpp | ||
ToStringOptional.tests.cpp | ||
ToStringPair.tests.cpp | ||
ToStringTuple.tests.cpp | ||
ToStringVariant.tests.cpp | ||
ToStringVector.tests.cpp | ||
ToStringWhich.tests.cpp | ||
Tricky.tests.cpp | ||
VariadicMacros.tests.cpp |