Project

General

Profile

Actions

Bug #2946

closed

osd: build fails on g++ 4.7

Added by Sage Weil over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
OSD
Target version:
-
% Done:

0%

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

Description

In file included from /usr/include/boost/intrusive_ptr.hpp:16:0,
from /usr/include/boost/statechart/event_base.hpp:15,
from /usr/include/boost/statechart/event.hpp:11,
from ./osd/PG.h:19,
from osd/OSD.cc:27:
/usr/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of ‘boost::intrusive_ptr::intrusive_ptr(const boost::intrusive_ptr&) [with T = MOSDPGLog; boost::intrusive_ptr = boost::intrusive_ptr]’:
./osd/PG.h:871:10: required from ‘boost::intrusive_ptr boost::statechart::event::clone() const [with MostDerived = PG::MLogRec; Allocator = std::allocator]’
osd/OSD.cc:5603:1: required from here
error: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:23: ‘intrusive_ptr_add_ref’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
Actions #1

Updated by Dan Mick over 11 years ago

  • Assignee set to Samuel Just
Actions #2

Updated by Sage Weil over 11 years ago

  • Status changed from 12 to Resolved
Actions

Also available in: Atom PDF