From: Fred Morcos Date: Mon, 20 Nov 2023 15:29:28 +0000 (+0100) Subject: Silence deprecated copy ctor warnings when including decaf.hxx X-Git-Tag: rec-5.0.0-rc1~23^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bb0d3a50692cc2efbe92475c93742bae59cada9;p=thirdparty%2Fpdns.git Silence deprecated copy ctor warnings when including decaf.hxx --- diff --git a/pdns/decafsigners.cc b/pdns/decafsigners.cc index 326f622060..6c8be67a4f 100644 --- a/pdns/decafsigners.cc +++ b/pdns/decafsigners.cc @@ -3,7 +3,10 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-copy" #include +#pragma GCC diagnostic pop #include #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow"