Problem with dmd2.059.zip

Ed McCardell edmccard at hotmail.com
Mon Apr 16 03:01:17 PDT 2012


The versions of std.datetime and std.path in the 2.059 zip file don't 
have the latest fixes that take care of switching from the deprecated 
std.path.sep and undeprecating std.path.onOutOfMemoryError.

Compiling this simple program:

   import std.datetime;

   void main() {}

gives an error when using "-inline -release -noboundscheck"

std/datetime.d(29600): Error: variable std.path.sep is deprecated
std/datetime.d(29601): Error: variable std.path.sep is deprecated
std/path.d(2715): Error: alias std.path.onOutOfMemoryError is deprecated

(Oddly enough, it compiles without error with any other combination of 
those three options.)

Since it's fixed in the git repo, and can be worked around using the -d 
switch, is it worth opening a bug report?


More information about the Digitalmars-d mailing list