[cfe-dev] Adopting libc++, hitting problems on Mac OS X

Dallman, John john.dallman at siemens.com
Fri Sep 28 04:18:26 PDT 2012


> I wrote some for FreeBSD developers here:
> http://wiki.freebsd.org/NewC%2B%2BStack

Thanks.

> > So "if it links, it will work (in this respect)?"
> Yes, unless they do unsafe things with function pointer casts.

OK.

> Please say STL implementation rather than runtime: all C++ code
> must be using the same C++ runtime (typically libsupc++ or libcxxrt,
> possibly libc++abi).  It is also safe to pass non-STL objects across
> C++ library boundaries.

The Mac OS X 10.8 versions of libstdc++ and libc++ both use libc++abi,
as do the Mac OS X 10.7 versions. So that's OK, and this has got a lot
easier than I thought was necessary. So the incompatibility is just
with the STL implementation?

thanks again,

--
John Dallman




More information about the cfe-dev mailing list