D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 11669 - Deprecate std.c.stdc
Summary: Deprecate std.c.stdc
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-03 04:50 UTC by bearophile_hugs
Modified: 2020-03-21 03:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bearophile_hugs 2013-12-03 04:50:42 UTC
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.