www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18810] New: root/ctfloat depends upon backend

https://issues.dlang.org/show_bug.cgi?id=18810

          Issue ID: 18810
           Summary: root/ctfloat depends upon backend
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: alphaglosined gmail.com

For Windows using -m64 or -m32mscoff root/ctfloat depends upon the backend for
the symbols ld_sprint and strtold_dm.

They are defined in el.c and strtold.c.

This is a blocker for dmd as a library depending upon how it is used.

LDC[0] has outright removed both symbols.

[0]
https://github.com/ldc-developers/ldc/blob/a9c76cff3af12aca3d5335633f14fd51a7416682/dmd/root/ctfloat.d#L38

--
Apr 29 2018