_memsetFloat Error with dmd
Paul Backus
snarwin at gmail.com
Mon Mar 17 13:22:28 UTC 2025
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
More information about the Digitalmars-d-learn
mailing list