diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-06-05 19:30:42 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-06-18 15:02:55 +0200 |
commit | 641e92c6a7662a01f488947c3791f3b77e85517f (patch) | |
tree | 5ae61348982e5a322aaa06826c4801d935f6b3ee /README-maintainer | |
parent | f1f711963b8e5f0b2b5a9d80a522cbd616a153a9 (diff) | |
download | qpdf-641e92c6a7662a01f488947c3791f3b77e85517f.tar.zst |
QPDF, QPDFJob: use QPDFLogger instead of custom output streams
Diffstat (limited to 'README-maintainer')
-rw-r--r-- | README-maintainer | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/README-maintainer b/README-maintainer index 9f3c79a0..29291634 100644 --- a/README-maintainer +++ b/README-maintainer @@ -512,6 +512,28 @@ to the owner of the parent directory source tree. Note: this will leave some extra files (like .bash_history) in the parent directory of the source tree. You will want to clean those up. +DEPRECATION + +This is a reminder of how to use and test deprecation. + +To temporarily disable deprecation warnings for testing: + +#ifdef _MSC_VER +# pragma warning(disable : 4996) +#endif +#if (defined(__GNUC__) || defined(__clang__)) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + // Do deprecated thing here +#if (defined(__GNUC__) || defined(__clang__)) +# pragma GCC diagnostic pop +#endif + +To declare something as deprecated: + +[[deprecated("explanation")]] + LOCAL WINDOWS TESTING PROCEDURE |