www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5495] New: Compile Error(FreeBSD): undefined identifier CLOCK_MONOTONIC

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



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: -------
Jan 27 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5495


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------

          mime type|                            |

              patch|                            |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 27 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5495


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |braddr puremagic.com
         Resolution|                            |FIXED



---
Submitted:
https://github.com/D-Programming-Language/druntime/commit/12c5f2674c3fd5600116a3a2ebc4d814cf9f50ba

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