www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19855] New: D compiler reports error when compiling unit test

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

          Issue ID: 19855
           Summary: D compiler reports error when compiling unit test
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: mkoskim gmail.com

Environment: 32-bit Windows
Compiler: 2.086.0
Sources available, with instructions to set up 32-bit Windows environment:
https://github.com/mkoskim/games

It came across my mind to make unit tests for my lua.d
(games/engine/util/lua.d). I made scons file to compile them
(games/engine/unittest). When executed, compiler reports an error:

unittest$ scons
scons: Reading SConscript files ...
Build platform: Windows
---
ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the
reduction.
---
DMD %.*s
predefs   DigitalMars Windows CRuntime_DigitalMars CppRuntime_DigitalMars
LittleEndian D_Version2 all D_InlineAsm D_InlineAsm_X86 X86 Win32 unittest
assert D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat
binary    C:\DMD\dmd2\windows\bin\dmd.exe
version   v2.086.0

config    C:\DMD\dmd2\windows\bin\sc.ini
DFLAGS    -IC:\DMD\dmd2\windows\bin\..\..\src\phobos
-IC:\DMD\dmd2\windows\bin\..\..\src\druntime\import
---

--
May 09 2019