digitalmars.D.bugs - [Issue 5825] New: write is calling a deprecated function
- d-bugmail puremagic.com (35/35) Apr 09 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5825
- d-bugmail puremagic.com (16/16) Sep 07 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5825
http://d.puremagic.com/issues/show_bug.cgi?id=5825 Summary: write is calling a deprecated function Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2011-04-09 11:10:50 PDT --- import std.stdio; void main() { typedef void* HANDLE; HANDLE hnd; write(hnd); } D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\format.d(1599): Error: function std.format.formatValue!(LockingTextWriter,HANDLE,immutable(char)).formatValue is deprecated D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\format.d(308): Error: template instance std.format.formatGeneric!(LockingTextWriter,HANDLE,immutable(char)) error instantiating D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(660): instantiated from here: formattedWrite!(LockingTextWriter,immutable(char),HANDLE) D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(1433): instantiated from here: write!(HANDLE) test2.d(6): instantiated from here: write!(HANDLE) This will compile with the -d switch. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 09 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5825 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|NEW |RESOLVED CC| |yebblies gmail.com Platform|Other |All Resolution| |FIXED OS/Version|Windows |All --- Comment #2 from yebblies <yebblies gmail.com> 2011-09-08 15:42:54 EST --- https://github.com/D-Programming-Language/phobos/pull/225 https://github.com/D-Programming-Language/phobos/commit/711f7e2e84d7cbb7a643db70f041868f555d5300 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 07 2011