www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5162] New: windows.d no longer appears to compile in DMD 2.050

reply d-bugmail puremagic.com writes:
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



---
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: -------
Nov 03 2010
next sibling parent d-bugmail puremagic.com writes:
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



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: -------
Nov 04 2010
prev sibling parent d-bugmail puremagic.com writes:
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



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: -------
Nov 04 2010