www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Bug 60] New: Passing bool to variadic function in debug build fails to link

reply d-bugmail puremagic.com writes:
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


-- 
Mar 21 2006
next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 -----BEGIN PGP SIGNATURE----- iD8DBQFEJA7W3w+/yD4P9tIRAvJwAJ9KcqOlylQapHv6W5Wy15Mv+ZblJgCeM5uy ZvsJUJmVVb6/f5ipTB6rY9o= =ZLDV -----END PGP SIGNATURE-----
Mar 24 2006
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=60


deewiant gmail.com changed:

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





Fixed in 0.151.


-- 
Apr 03 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=60







 Fixed in 0.151.
 
Correction: works on Windows for me, and evidently also for Walter. --
Apr 03 2006