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

--- Comment #0 from Andrej Mitrovic <> 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:
------- You are receiving this mail because: -------

Reply via email to