www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19933] New: Win10 stdout link error?

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

          Issue ID: 19933
           Summary: Win10 stdout link error?
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: patric.dexheimer gmail.com

Not only stdout, (stderr too, maybe more)
Window 10
DMD D Compiler v2.086.0
LLVM D compiler (1.16.0-beta2)

import core.stdc.stdio;

extern(C)
void main()
{
        fprintf(stdout , "testing\n");
}

//dub run --compiler=dmd --arch=x86_64
/*
Program exited with code -1073740777
*/

//dub run --compiler=ldc2 --arch=x86_64
/*
lld-link: error: undefined symbol: stdout
(...)
*/

--
Jun 01 2019