www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11669] New: Deprecate std.c.stdc

https://d.puremagic.com/issues/show_bug.cgi?id=11669

           Summary: Deprecate std.c.stdc
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



I suggest to deprecate the usage of the modules std.c.stdc:


import core.stdc.stdio: puts; // OK
import std.c.stdio: printf; // Deprecation message here.
void main() {
    printf("bad\n");
    puts("OK");
}


The deprecation message should point to the import line.

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