Bug 8003 – Phobos uses deprecated std.path sep symbol
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-04-29T17:06:00Z
Last change time
2012-04-30T15:43:13Z
Assigned to
nobody
Creator
andrej.mitrovich
Comments
Comment #0 by andrej.mitrovich — 2012-04-29T17:06:04Z
DMD 2.059 release:
std.file and std.datetime still use std.path.sep which is deprecated, they should use dirSeparator instead. Here are the lines:
std.file:
L542
L543
L1968
L1969
std.datetime:
L29289
L29598
L29600
L29601
Why is Phobos being compiled with the deprecation option when distributed? The same thing goes for RDMD which Walter compiled with -d but otherwise the 2.059 release version wouldn't compile without -d. For lack of a better word, it's really unprofessional.
Comment #1 by nilsbossung — 2012-04-30T15:43:13Z
(In reply to comment #0)
> DMD 2.059 release:
>
> std.file and std.datetime still use std.path.sep which is deprecated, they
> should use dirSeparator instead. Here are the lines:
[...]
Had been fixed before the report, but apparently missed 2.059: https://github.com/D-Programming-Language/phobos/commit/022808fa68d2f43d159d29a40e3587cdc0f1ab5c
> Why is Phobos being compiled with the deprecation option when distributed? The
> same thing goes for RDMD which Walter compiled with -d but otherwise the 2.059
> release version wouldn't compile without -d. For lack of a better word, it's
> really unprofessional.
yup
Since std.path.sep is the main point of the report, I close the issue. If you want to keep it open for rdmd (or the release practice criticism), just reopen please.