]> git.apps.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)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 7 Apr 2021 17:29:08 +0000 (13:29 -0400)
Since this is a submodule, just wrap the include in a pragma.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_rest_s3.cc

index 6338219f6556baec5ec2a75dc83e5ebc90d2b207..8cb8b6162db5fe8d0564549c271a345f8b85ebd0 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>