bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/29113] New: Build error for x86_64-w64-mingw32 host since C


From: euloanty at live dot com
Subject: [Bug gprofng/29113] New: Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
Date: Mon, 02 May 2022 06:26:13 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29113

            Bug ID: 29113
           Summary: Build error for x86_64-w64-mingw32 host since
                    CLOCK_MONOTONIC does not exist
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gprofng
          Assignee: vladimir.mezentsev at oracle dot com
          Reporter: euloanty at live dot com
  Target Milestone: ---

../../../../../../binutils-gdb/gprofng/libcollector/gethrtime.c: In function
'linux_gethrtime':
../../../../../../binutils-gdb/gprofng/libcollector/gethrtime.c:38:11: warning:
implicit declaration of function 'clock_gettime'
[-Wimplicit-function-declaration]
   38 |   int r = clock_gettime (CLOCK_MONOTONIC, &tp);
      |           ^~~~~~~~~~~~~
../../../../../../binutils-gdb/gprofng/libcollector/gethrtime.c:38:26: error:
'CLOCK_MONOTONIC' undeclared (first use in this function)
   38 |   int r = clock_gettime (CLOCK_MONOTONIC, &tp);
      |                          ^~~~~~~~~~~~~~~
../../../../../../binutils-gdb/gprofng/libcollector/gethrtime.c:38:26: note:
each undeclared identifier is reported only once for each function it appears
in

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]