From ea4724d5aa403801a913f325c516b33a973fb499 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 25 Dec 2013 10:44:07 +0100 Subject: [PATCH] rados: deprecated attribute has no argument The deprecated attribute argument was introduced in gcc 4.5 http://gcc.gnu.org/gcc-4.5/changes.html and centos6 has a lower version. Signed-off-by: Loic Dachary --- src/include/rados/librados.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/rados/librados.hpp b/src/include/rados/librados.hpp index 1804a5805d7..2030fb15608 100644 --- a/src/include/rados/librados.hpp +++ b/src/include/rados/librados.hpp @@ -103,7 +103,7 @@ namespace librados bool is_complete_and_cb(); bool is_safe_and_cb(); int get_return_value(); - int get_version() __attribute__ ((deprecated ("use get_version64"))); + int get_version() __attribute__ ((deprecated)); uint64_t get_version64(); void release(); AioCompletionImpl *pc; @@ -781,7 +781,7 @@ namespace librados int aio_operate(const std::string& oid, AioCompletion *c, ObjectReadOperation *op, snap_t snapid, int flags, bufferlist *pbl) - __attribute__ ((deprecated ("use aio_operate without snapid argument"))); + __attribute__ ((deprecated)); int aio_operate(const std::string& oid, AioCompletion *c, ObjectReadOperation *op, int flags,