On Monday, 17 March 2025 at 12:28:38 UTC, Maximilian Naderer wrote:
Hello people,

i have the following example. Compiled with dmd and ldc2

dmd main.d -betterC
ldc2 main.d -betterC

with dmd the compilation fails with

    lld-link: error: undefined symbol: _memsetFloat
    >>> referenced by app.obj:(main)
    Error: linker exited with status 1
C:\dev\dlang\dmd2\windows\bin64\lld-link.exe /NOLOGO "app.obj" /LIBPATH:"C:\dev\dlang\dmd2\windows\bin64\..\lib64\mingw

This is a known bug in BetterC:

https://github.com/dlang/dmd/issues/19579

Reply via email to