December 04, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=646

           Summary: GDC does not set version(Windows) by default.
           Product: GDC
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: default_357-line@yahoo.de


GDC does not set version(Windows) by default (Win32 however it does). It also
(as of the current version as well as svn) does not allow you to set
-fversion(Windows), claiming Windows is reserved and cannot be set.
This forces users to change the standard headers (to use version(Win32), which
is curiously set) in order to use phobos at all.
See also http://lists.puremagic.com/pipermail/d.gnu/2006-November/000492.html


-- 

December 04, 2006
> GDC does not set version(Windows) by default (Win32 however it does). It also
> (as of the current version as well as svn) does not allow you to set
> -fversion(Windows), claiming Windows is reserved and cannot be set.
> This forces users to change the standard headers (to use version(Win32), which
> is curiously set) in order to use phobos at all.

"DMD does not set version(Unix) by default (linux however it does). This forces GDC to change the standard headers (to use version(Unix) and change std.c.linux.linux to std.c.unix.unix), in order to use phobos at all."

I think this issue runs deeper than just GDC using Win32 for MinGW OS ?

--anders