Project

General

Profile

Actions

Bug #5402

closed

rgw compilation problem on wip-rgw-geo-2 branch

Added by Christophe Courtaut almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Urgent
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The wip-rgw-geo-2 branch does not compile from a2cf14fe27a2da54e44b12a373b15b29c89d31b9.

In fact the method encode and decode from include/encoding.h are called, but not one matches for time_t.

As an example of error output :
In file included from ./include/types.h:69:0,
from rgw/rgw_acl.cc:6:
./include/object.h:57:13: note: void encode(const object_t&, ceph::bufferlist&, uint64_t) <near match>
./include/object.h:57:13: note: no known conversion for argument 1 from ‘const time_t {aka const long int}’ to ‘const object_t&’.

On ubuntu raring with gcc 4.7.3

Actions #1

Updated by Ian Colle almost 11 years ago

  • Priority changed from Normal to Urgent
Actions #2

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF