November 23, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6996

           Summary: std.typecons calls writeln without importing std.stdio
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-11-23 11:18:13 PST ---
Compiling std.typecons with the switch "debug=RefCounted" enables debugging functions which call writeln, but there are no imports to stdio.

Now, in my case the CairoD library uses the debug=RefCounted switch to enable its own debugging methods.

As a result, building a CairoD project via e.g. xfbuild will fail, because xfbuild *manually* compiles phobos modules and propagates that debug switch. So std.typecons ends up getting the switch, and there are writeln() calls everywhere enabled by it but no imports to std.stdio.

In short, std.typecons.d needs to be fixed!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6996


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

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


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-01-04 06:42:05 PST ---
Seems to be fixed in 2.057.

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