Error when compiling with C libs

Sergey kornburn at yandex.ru
Sun Oct 13 21:28:41 UTC 2024


On Sunday, 13 October 2024 at 20:06:44 UTC, barbosso wrote:
> error in line
> ```typedef float _Float32;```
> clang can compile that line,
> but dmd or ldc can not!
> This is definatly compiler error!

It is not an error..
This is just lack in the implementation.

https://github.com/dlang/dmd/blob/f5fa64a8863e08673cf78a608d28b88e8df832f2/druntime/src/importc.h#L175

Somehow it is working on macOS - aarch64, and not working on 
Linux 864


More information about the Digitalmars-d-learn mailing list