[cfe-dev] Adopting libc++, hitting problems on Mac OS X
hhinnant at apple.com
Fri Sep 28 07:25:46 PDT 2012
On Sep 28, 2012, at 10:05 AM, "Dallman, John" <john.dallman at siemens.com> wrote:
>>> So "if it links, it will work (in this respect)?"
>> Yes, unless they do unsafe things with function pointer casts.
> Presumably embeddeding STL objects within non-STL objects, or within
> C-style stucts, would also be a way to get past the linker checks?
I think you'll get past the linker checks, but not past the ABI incompatibilities. It's best to stick to a C interface between dylibs unless they are both compiled with the same std::lib.
More information about the cfe-dev