Bug 11669 – Deprecate std.c.stdc

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-03T04:50:42Z
Last change time
2020-03-21T03:56:33Z
Assigned to
No Owner
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2013-12-03T04:50:42Z
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.