www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16668] New: Hello world causes linker errors


          Issue ID: 16668
           Summary: Hello world causes linker errors
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: 13nixonf gmail.com

When  compiling a simple hello world application dmd spits out 1000+ errors
available here:  http://pastebin.com/xe7UGxTj
Same issue occurs  when compiling with -fPIC.
The exact contents of app.d is:
import std.stdio;

void main()
        writeln("it works");

Nov 07 2016