www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11709] New: dmd's Windows samples seems broken

https://d.puremagic.com/issues/show_bug.cgi?id=11709

           Summary: dmd's Windows samples seems broken
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: zan77137 nifty.com


--- Comment #0 from SHOO <zan77137 nifty.com> 2013-12-07 09:11:56 PST ---
Sample codes make compilation errors on Windows.

$ cd samples\d
$ build.bat

:
:
:

..\..\windows\bin\dmd pi
pi.d(45): Error: function core.stdc.time.time (int* timer) is not callable
using
 argument types (long*)
pi.d(49): Error: function core.stdc.time.time (int* timer) is not callable
using
 argument types (long*)

--- errorlevel 1



It is necessary to revise a type to use time_t from long.

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