[Issue 5495] New: Compile Error(FreeBSD): undefined identifier CLOCK_MONOTONIC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 27 01:14:49 PST 2011


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

           Summary: Compile Error(FreeBSD): undefined identifier
                    CLOCK_MONOTONIC
           Product: D
           Version: D2
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: sohgo at sohgo.dyndns.org


--- Comment #0 from Sohgo Takeuchi <sohgo at sohgo.dyndns.org> 2011-01-27 01:12:41 PST ---
Created an attachment (id=884)
a patch for time.d to define CLOCK_MONOTONIC

I encounterd a compilation error when compiling druntime on a FreeBSD 8.1(i386)
machie. I attache a patch file to fix it.

Thanks.

src/core/time.d(1295): Error: undefined identifier CLOCK_MONOTONIC
src/core/time.d(1883): Error: undefined identifier CLOCK_MONOTONIC
gmake[1]: *** [lib/libdruntime.a] Error 1
gmake[1]: Leaving directory `/usr/home/sohgo/d/druntime'
gmake: *** [make-druntime] Error 2

-- 
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