Re: feedback on supporting libc++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/27/2013 03:34 PM, Noah Watkins wrote:
On Wed, Oct 30, 2013 at 2:02 PM, Josh Durgin <josh.durgin@xxxxxxxxxxx> wrote:
On 10/29/2013 03:51 PM, Noah Watkins wrote:

unsafe to me. Could you check whether you can run 'rados ls' compiled
against an old librados, but dynamically loading librados from this
branch compiled in c++98 mode?

I'm still working on this, but my understanding so far from libc++
documentation is that libc++ and libstdc++ are API but not ABI
compatible, so there shouldn't be an expectation that librados binary
library built against libstc++ will work if dynamically linked against
libc++.

I meant if it was compiled against libstdc++ both times, I was curious
whether changing std::tr1::shared_ptr to ceph::shared_ptr would result
in any incompatibility.

I just tried this, and it worked fine (I think because it does not
actually create a new c++ type, but acts like a typedef and just
creates an alias), so I've got no issues with this approach.

Josh
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux