Using C++ Classes From D: dmd cannot link, while ldc segfault
Matheus Catarino
matheus-catarino at hotmail.com
Thu Jan 25 21:41:36 UTC 2024
https://forum.dlang.org/post/kawfhminmtmwbmkzhwsp@forum.dlang.org
On Monday, 19 June 2023 at 06:11:59 UTC, mw wrote:
> LDC - the LLVM D compiler (1.32.2):
> ```
> main.d(32): Error: undefined identifier `vector` in module
> `core.stdcpp.vector`, did you mean enum member `MIctor`?
> ```
>
> So what's wrong the LDC? how do I write
> `core.stdcpp.vector.vector` then?
Currently, I was only able to get rid of this error using a fork
of stdcpp still in progress in the standalone repository.
Ref.: https://github.com/dlang/stdcpp/issues/5
More information about the Digitalmars-d-learn
mailing list