From: Petr Machata Date: Thu, 29 Jan 2015 17:15:02 +0000 (-0700) Subject: support Boost 1.57.0 X-Git-Tag: v0.87.1~27^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eb30631ec3d081fd1bc2cdbd4812a334de9e1282;p=ceph.git support Boost 1.57.0 Sometime after 1.55, boost introduced a forward declaration of operator<< in optional.hpp. In 1.55 and earlier, when << was used without the _io having been included, what got dumped was an implicit bool conversion. http://tracker.ceph.com/issues/10688 Refs: #10688 Signed-off-by: Ken Dreyer (cherry picked from commit 85717394c33137eb703a7b88608ec9cf3287f67a) Conflicts: src/include/encoding.h trivial conflict --- diff --git a/src/common/map_cacher.hpp b/src/common/map_cacher.hpp index 101a0be96d92..652d0a26e3c4 100644 --- a/src/common/map_cacher.hpp +++ b/src/common/map_cacher.hpp @@ -16,7 +16,7 @@ #define MAPCACHER_H #include -#include +#include #include "include/memory.h" #include #include diff --git a/src/include/encoding.h b/src/include/encoding.h index d19b60e9eeae..3f029c3c70cb 100644 --- a/src/include/encoding.h +++ b/src/include/encoding.h @@ -286,7 +286,7 @@ inline void decode(T &o, bufferlist& bl) #include #include #include -#include +#include #ifndef _BACKWARD_BACKWARD_WARNING_H #define _BACKWARD_BACKWARD_WARNING_H // make gcc 4.3 shut up about hash_* diff --git a/src/os/DBObjectMap.h b/src/os/DBObjectMap.h index f20c6e8efc9a..48e973c09e63 100644 --- a/src/os/DBObjectMap.h +++ b/src/os/DBObjectMap.h @@ -17,7 +17,7 @@ #include "common/Mutex.h" #include "common/Cond.h" #include "common/simple_cache.hpp" -#include +#include /** * DBObjectMap: Implements ObjectMap in terms of KeyValueDB diff --git a/src/osd/ECBackend.cc b/src/osd/ECBackend.cc index 78e7699ae85b..29071dddedc6 100644 --- a/src/osd/ECBackend.cc +++ b/src/osd/ECBackend.cc @@ -13,7 +13,7 @@ */ #include -#include +#include #include #include diff --git a/src/osd/ECBackend.h b/src/osd/ECBackend.h index f6199ff32125..3b1baebabcfe 100644 --- a/src/osd/ECBackend.h +++ b/src/osd/ECBackend.h @@ -18,7 +18,7 @@ #include "OSD.h" #include "PGBackend.h" #include "osd_types.h" -#include +#include #include "erasure-code/ErasureCodeInterface.h" #include "ECTransaction.h" #include "ECMsgTypes.h" diff --git a/src/osd/ECTransaction.cc b/src/osd/ECTransaction.cc index c25023c481ce..b95cdf7c3713 100644 --- a/src/osd/ECTransaction.cc +++ b/src/osd/ECTransaction.cc @@ -13,7 +13,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/osd/ECTransaction.h b/src/osd/ECTransaction.h index 7b104c7e254f..fc31cde78e47 100644 --- a/src/osd/ECTransaction.h +++ b/src/osd/ECTransaction.h @@ -19,7 +19,7 @@ #include "PGBackend.h" #include "osd_types.h" #include "ECUtil.h" -#include +#include #include "erasure-code/ErasureCodeInterface.h" class ECTransaction : public PGBackend::PGTransaction { diff --git a/src/osd/ReplicatedPG.h b/src/osd/ReplicatedPG.h index c4490f3a724f..f566d21fea5a 100644 --- a/src/osd/ReplicatedPG.h +++ b/src/osd/ReplicatedPG.h @@ -17,7 +17,7 @@ #ifndef CEPH_REPLICATEDPG_H #define CEPH_REPLICATEDPG_H -#include +#include #include #include "include/assert.h" diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 988cebe69597..fcb51f0e9ada 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include "include/rados/rados_types.hpp"