[Issue 4157] New: C time functions `localtime_r` and `gmtime_r` are not exposed by core.stdc.time.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 3 21:11:17 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4157

           Summary: C time functions `localtime_r` and `gmtime_r` are not
                    exposed by core.stdc.time.
           Product: D
           Version: 2.041
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: blood.of.life at gmail.com


--- Comment #0 from Bernard Helyer <blood.of.life at gmail.com> 2010-05-03 21:11:14 PDT ---
Created an attachment (id=623)
Patch to add function declarations to core.stdc.time.

Fairly simple. These functions aren't declared when std.c.time is imported.
They are not implemented by MSVC, as of VS 2010 (I just looked at the headers,
didn't run the compiler).

Attached is a patch that adds them under a `version ( Posix )` block.

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


More information about the Digitalmars-d-bugs mailing list