[Issue 15837] New: [REG 2.071-b1] stdout.writeln not called anymore in static lib
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sat Mar 26 20:56:17 PDT 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15837
          Issue ID: 15837
           Summary: [REG 2.071-b1] stdout.writeln not called anymore in
                    static lib
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com
make a static library with the following class
class Foo
{
    this()
    {
        import std.stdio;
        writeln("whatever");
    }
}
then in a simple program import this static library and create a new Foo.
then execute
=> nothing is written to the console !
--
    
    
More information about the Digitalmars-d-bugs
mailing list