Bind C++ class to DLang : undefined reference to `Canvas::Foo()'
Adam D. Ruppe
destructionator at gmail.com
Mon Jul 13 12:57:52 UTC 2020
On Monday, 13 July 2020 at 09:34:35 UTC, zoujiaqing wrote:
> # dmd source/main.d Canvas.o -L-lstdc++ && ./main
> [1] 49078 segmentation fault ./main
On my computer I got this warning out of the compiler:
libstdc++ std::__cxx11::basic_string is not yet supported; the
struct contains an interior pointer which breaks D move semantics!
sounds like it might be a known limitation.
More information about the Digitalmars-d-learn
mailing list