[Issue 6196] with statement with single statement breaks linking

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 24 14:09:20 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=6196



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-04-24 14:10:20 PDT ---
(In reply to comment #2)
> Compiles and runs fine with 2.059 Win32.

That's not true.

module test;
static import std.stdio;

void main()
{
    with (std.stdio) writeln();
}

$ dmd test.d
> OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
test.obj(test)
 Error 42: Symbol Undefined _D3std5stdio12__T7writelnZ7writelnFZv
--- errorlevel 1

Maybe it works on Posix, but it's not working on my win32 system.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list