Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1655 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Tango is not building on Windows

Reported by: KeYeR Assigned to: fawzi
Priority: major Milestone: 0.99.9
Component: Tango Version: 0.99.8 Sean
Keywords: Cc:

Description

Problem:

rt\deh.c(339) : Error: need explicit cast for function parameter 1 to get
from: struct ClassInfo*
to  : struct _CONTEXT*
--- errorlevel 1
--- errorlevel 1
--- errorlevel 1
--- errorlevel 1

Solution

Index: lib/compiler/dmd/rt/deh.c
===================================================================
--- lib/compiler/dmd/rt/deh.c   (revision 4655)
+++ lib/compiler/dmd/rt/deh.c   (working copy)
@@ -336,7 +336,7 @@
             break;

                 case STATUS_FLOAT_DENORMAL_OPERAND:
-            pti = _d_create_exception_object(&_Class_9Exception, "Floating Poin
t Denormal Operand");
+            pti = _d_create_exception_object(context, &_Class_9Exception, "Floa
ting Point Denormal Operand");
             break;

                 case STATUS_FLOAT_INEXACT_RESULT:

Change History

05/16/09 03:58:34 changed by larsivi

  • owner changed from larsivi to fawzi.
  • priority changed from blocker to major.

05/19/09 13:12:11 changed by fawzi

  • status changed from new to closed.
  • resolution set to fixed.

(In [4666]) adding forgotten context, better formatting, fixes #1655