Re: libc++ vs. libstdc++ usage in the ports tree

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Thu, 14 Nov 2013 09:54:52 +0000
On 13 Nov 2013, at 19:40, Dimitry Andric <dim_at_freebsd.org> wrote:

> On the other hand, different C++ standard libraries simply cannot be
> mixed.  The internal implementations are usually completely different.
> This is not really news at all, certainly not to the ports people. :-)

That said, it should still be possible to mix them in different libraries.
The constraint from the wiki still applies: if you don't use STL types at library boundaries, then it should still work.  If you do, then the libc++ and libstdc++ symbols will be mangled differently and so you will get link-time errors.

In theory, if it links it should run...

David
Received on Thu Nov 14 2013 - 08:55:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC