D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15175 - rdmd --loop and --eval now complain about std.stream deprecation warnings
Summary: rdmd --loop and --eval now complain about std.stream deprecation warnings
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-07 12:38 UTC by Vladimir Panteleev
Modified: 2016-01-03 14:15 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 Vladimir Panteleev 2015-10-07 12:38:57 UTC
> rdmd --force "--eval=writeln(`eval_works`);"
C:\Temp\.rdmd\eval.B69BD6FDCFC0950D6C336FE7B8FEF8B5.d(6): Deprecation: module std.cstream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\D2\src\phobos\std\cstream.d(27): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\Temp\.rdmd\eval.B69BD6FDCFC0950D6C336FE7B8FEF8B5.d(13): Deprecation: module std.socketstream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\D2\src\phobos\std\socketstream.d(41): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\Temp\.rdmd\eval.B69BD6FDCFC0950D6C336FE7B8FEF8B5.d(13): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\Temp\.rdmd\eval.B69BD6FDCFC0950D6C336FE7B8FEF8B5.d(6): Deprecation: module std.cstream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\D2\src\phobos\std\cstream.d(27): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\Temp\.rdmd\eval.B69BD6FDCFC0950D6C336FE7B8FEF8B5.d(13): Deprecation: module std.socketstream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\D2\src\phobos\std\socketstream.d(41): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\Temp\.rdmd\eval.B69BD6FDCFC0950D6C336FE7B8FEF8B5.d(13): Deprecation: module std.stream is deprecated - It will be removed from Phobos in October 2016. If you still need it, go to https://github.com/DigitalMars/undeaD
eval_works
Comment 1 github-bugzilla 2015-10-12 00:46:06 UTC
Commit pushed to master at https://github.com/D-Programming-Language/tools

https://github.com/D-Programming-Language/tools/commit/cf6139e61a0bfa63d2d734006534288fa1d9ea91
rdmd: Use -d with --loop/--eval to silence std.stream warnings

Fixes issue 15175
Comment 2 github-bugzilla 2016-01-03 14:15:30 UTC
Commit pushed to stable at https://github.com/D-Programming-Language/tools

https://github.com/D-Programming-Language/tools/commit/cf6139e61a0bfa63d2d734006534288fa1d9ea91
rdmd: Use -d with --loop/--eval to silence std.stream warnings