DMD backend now in D

Jacob Carlborg doob at me.com
Mon Nov 12 11:12:48 UTC 2018


On 2018-11-12 03:37, Walter Bright wrote:
> On 11/11/2018 3:58 PM, Mike Franklin wrote:
>> This is a significant milestone.  Congratulations, Walter!
>
> Many people helped out with this, too.
>
>> There are still a few .c files in
>> https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's
>> the significance of those?
>
> tk.c
> fp.c
> os.c
> strtold.c
> tk/mem.c
>
> These could be converted too, but are independent from everything else
> and hardly seem worth the bother. Sebastian has a PR for os.cd.

dmd/root/ctfloat.d depends on the "strtold_dm" function defined in 
strtold.c [2] when compiling using Visual Studio. That means that the 
Dub package cannot be compile using Visual Studio without this file.

[1] 
https://github.com/dlang/dmd/blob/4df5d6a6e8775754148939beb6de827fe4b0b9ab/src/dmd/root/ctfloat.d#L167-L170

[2] 
https://github.com/dlang/dmd/blob/4df5d6a6e8775754148939beb6de827fe4b0b9ab/src/dmd/backend/strtold.c#L138

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list