]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Fix warnings from s3select
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 6 Apr 2021 19:20:55 +0000 (15:20 -0400)
committersinguliere <singuliere@autistici.org>
Fri, 9 Apr 2021 05:57:55 +0000 (07:57 +0200)
Since this is a submodule, just wrap the include in a pragma.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 607da6aa09c6226ffe251eb419dfffbe00dbc386)

src/rgw/rgw_rest_s3.cc

index 26606bc99d55f5c2cb88320e69d493456f594352..03a2e958cbf6fe6a3dcd82a0102461e7655368b1 100644 (file)
 #include <boost/algorithm/string/replace.hpp>
 #include <boost/tokenizer.hpp>
 #define BOOST_BIND_GLOBAL_PLACEHOLDERS
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wimplicit-const-int-float-conversion"
 #include <s3select/include/s3select.h>
+#pragma clang diagnostic pop
 #undef BOOST_BIND_GLOBAL_PLACEHOLDERS
 
 #include <liboath/oath.h>