Skeleton for applying deprecation warnings

This commit is contained in:
Martin Hořeňovský
2025-07-20 21:40:18 +02:00
parent 715558fd97
commit 8c3ffe05e1
8 changed files with 50 additions and 0 deletions

View File

@@ -263,6 +263,21 @@ namespace Catch {
}
```
## Disabling deprecation warnings
> Introduced in Catch2 X.Y.Z
Catch2 has started using the C++ macro `[[deprecated]]` to mark things
that are deprecated and should not be used any more. If you need to
temporarily disable these warnings, use
CATCH_CONFIG_NO_DEPRECATION_ANNOTATIONS
Catch2 currently does not support more fine-grained deprecation warning
control, nor do we plan to.
## Overriding Catch's debug break (`-b`)
> [Introduced](https://github.com/catchorg/Catch2/pull/1846) in Catch2 2.11.2.