All of lore.kernel.org
 help / color / mirror / Atom feed
* feedback on supporting libc++
@ 2013-10-29 22:51 Noah Watkins
  2013-10-30 16:13 ` asomers
  2013-10-30 19:02 ` Josh Durgin
  0 siblings, 2 replies; 8+ messages in thread
From: Noah Watkins @ 2013-10-29 22:51 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org, Gregory Farnum, Gregory Farnum

Out of the box on OSX Mavericks libc++ [1] is being used as opposed to
libstdc++. One of the issues is that stuff from tr1 isn't available
(e.g. std::tr1::shared_ptr), as they have moved to std in c++11.

I'm looking for any feedback on this patch set, or if there is a
better way forward.

A set of patches on ceph.git:wip-libc++ [2] adds initial support (with
a couple temporary hacks). These patches are very similar to the
method used to support libc++ in mongodb.

Summary of changes:

  std::tr1::shared/weak_ptr maps to ceph::shared/weak_ptr

  hash_map/set maps to ceph::unordered_map/set

which will choose tr1::unordered_map/set over ext/hash_map/set.

[1] http://libcxx.llvm.org/
[2] https://github.com/ceph/ceph/compare/wip-libc%2B%2B

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-09 19:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-29 22:51 feedback on supporting libc++ Noah Watkins
2013-10-30 16:13 ` asomers
2013-10-30 19:02 ` Josh Durgin
2013-12-27 23:34   ` Noah Watkins
2013-12-31  1:19     ` Josh Durgin
2013-12-31 16:59       ` Noah Watkins
2013-12-31 18:59         ` Josh Durgin
2014-01-09 19:54           ` Noah Watkins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.