From: Loic Dachary Date: Wed, 25 Dec 2013 09:44:07 +0000 (+0100) Subject: rados: deprecated attribute has no argument X-Git-Tag: v0.75~36^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F995%2Fhead;p=ceph.git 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 --- diff --git a/src/include/rados/librados.hpp b/src/include/rados/librados.hpp index 1804a5805d7f..2030fb15608d 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,