Bind C++ class to DLang : undefined reference to `Canvas::Foo()'
Jacob Carlborg
doob at me.com
Wed Jul 15 11:44:02 UTC 2020
On 2020-07-14 05:33, Boris Carvajal wrote:
> Can you try passing -D_GLIBCXX_USE_CXX11_ABI=0 to g++ and
> -version=_GLIBCXX_USE_CXX98_ABI to dmd.
>
> That comes from: https://dlang.org/changelog/2.088.0.html#std_string
>
> C++11 ABI is currently not supported.
I based on previous messages and the usage of Clang, I think zoujiaqing
is using a Mac. On Mac libc++ is used. That above might not apply.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list