www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19249] New: Trying to build DMD for windows with LDC fails

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

          Issue ID: 19249
           Summary: Trying to build DMD for windows with LDC fails
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

Trying to build DMD for windows using LDC:

Build 32bit:

 1>..\dmd\root\longdouble.d(164): error : static assert:  "usupported type"
 1>..\dmd\constfold.d(1123):        instantiated from here: `opCast!(__c_long)`


Build 64bit:

 1>..\dmd\backend\cod4.d(291): Deprecation: integral promotion not done for
`~modregrm(0u, 7u, 0u)`, use '-transition=intpromote' switch or
`~cast(int)(modregrm(0u, 7u, 0u))`
 1>..\dmd\backend\cod4.d(48): error : Global variable type does not match
previous declaration with same mangled name: `?dblreg  3PAIB`
 1>..\dmd\backend\cod4.d(48):        Previous IR type: [4 x i32]
 1>..\dmd\backend\cod4.d(48):        New IR type:      [4 x i32]

--
Sep 15 2018