Thread overview
[Bug 60] New: Passing bool to variadic function in debug build fails to link
Mar 22, 2006
d-bugmail
Mar 24, 2006
Thomas Kuehne
Apr 03, 2006
d-bugmail
Apr 03, 2006
d-bugmail
March 22, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=60

           Summary: Passing bool to variadic function in debug build fails
                    to link
           Product: D
           Version: 0.150
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: link-failure
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: ericanderton@yahoo.com


import std.stdio;

void main(){
        writefln("",true);
}
------------------------------

OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

bug.obj(bug)
 Error 42: Symbol Undefined __init_10TypeInfo_x


-- 

March 24, 2006
d-bugmail@puremagic.com schrieb am 2006-03-22:
>            Summary: Passing bool to variadic function in debug build fails
>                     to link

[snip]

> import std.stdio;
>
> void main(){
>         writefln("",true);
> }

This is a Windows-only bug.

Added to DStress as http://dstress.kuehne.cn/run/t/typeid_89.d

Thomas


April 03, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=60


deewiant@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #3 from deewiant@gmail.com  2006-04-03 05:47 -------
Fixed in 0.151.


-- 

April 03, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=60





------- Comment #4 from deewiant@gmail.com  2006-04-03 05:56 -------
(In reply to comment #3)
> Fixed in 0.151.
> 

Correction: works on Windows for me, and evidently also for Walter.


--