www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8003] New: Phobos uses deprecated std.path sep symbol

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8003

           Summary: Phobos uses deprecated std.path sep symbol
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



17:06:04 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 29 2012
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8003


Nils <mailme+d nilsb.dyndns.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |mailme+d nilsb.dyndns.org
         Resolution|                            |FIXED




 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 30 2012