From: Adam C. Emerson Date: Tue, 8 Mar 2022 01:42:39 +0000 (-0500) Subject: rgw: Silence deprecation warnings from s3select X-Git-Tag: v18.0.0~366^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f0ef665f27352211f84a46ab7249196a3526529d;p=ceph.git rgw: Silence deprecation warnings from s3select Since it's a submodule. Signed-off-by: Adam C. Emerson --- diff --git a/src/rgw/rgw_s3select_private.h b/src/rgw/rgw_s3select_private.h index 8fffbfbade5e..eb17050bc153 100644 --- a/src/rgw/rgw_s3select_private.h +++ b/src/rgw/rgw_s3select_private.h @@ -32,7 +32,14 @@ #include +#pragma GCC diagnostic push +#pragma clang diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated" +#pragma clang diagnostic ignored "-Wdeprecated" #include +#pragma GCC diagnostic pop +#pragma clang diagnostic pop + #include "rgw_rest_s3.h" #include "rgw_s3select.h"