Thread overview
[Issue 5162] New: windows.d no longer appears to compile in DMD 2.050
Nov 04, 2010
Andrew Wiley
Nov 04, 2010
Don
Nov 04, 2010
Walter Bright
November 04, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5162

           Summary: windows.d no longer appears to compile in DMD 2.050
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: debio264@gmail.com


--- Comment #0 from Andrew Wiley <debio264@gmail.com> 2010-11-03 23:34:53 PDT ---
Compiling code that depends on windows.d results in these compiler messages:

C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\windows.d(140): C-style function pointer and pointer to array syntax is deprecated. Use 'function' to declare function pointers C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\windows.d(2039): C-style function pointer and pointer to array syntax is deprecated. Use 'function' to declare function pointers C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\windows.d(2538): C-style function pointer and pointer to array syntax is deprecated. Use 'function' to declare function pointers C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\windows.d(3061): C-style function pointer and pointer to array syntax is deprecated. Use 'function' to declare function pointers

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 04, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5162


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |clugdbug@yahoo.com.au


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-11-04 01:17:45 PDT ---
You're right, there's an ancient 'windows.d' in the download. It just shouldn't exist.

If you delete
src\druntime\import\core\sys\windows\windows.d
everything should work (it should be using the windows.di file).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 04, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5162


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2010-11-04 10:05:42 PDT ---
Fixed the download zip.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------