Build v3.03 released

Derek Parnell derek at psyc.ward
Thu Sep 21 15:33:51 PDT 2006


On Thu, 21 Sep 2006 11:44:08 -0700, Gregor Richards wrote:

> In util/fdt.d, the section:
> 
>      version(Windows) static import opsys = std.c.windows.windows;
>      version(linux)   static import opsys = std.c.linux.linux;
>      version(darwin)  static import opsys = std.c.darwin.darwin;
>      version(Unix)    static import opsys = std.c.unix;
>      version(Posix)   static import std.string;
> 
> needs to become:
> 
>      version(Windows) static import opsys = std.c.windows.windows;
>      else version(linux)   static import opsys = std.c.linux.linux;
>      else version(darwin)  static import opsys = std.c.darwin.darwin;
>      else version(Unix)    static import opsys = std.c.unix;
>      else version(Posix)   static import std.string;
> 
> This is because the different platforms aren't mutually exclusive, so 
> it'll end up importing two modules as opsys, oops :(

Hmmm...I'll have to check this out a bit more. They ought to be mutually
exclusive, IMHO.

-- 
Derek Parnell
Melbourne, Australia
"Down with mediocrity!"



More information about the Digitalmars-d-announce mailing list