qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1871005] [NEW] build fails on CLOCK_MONOTONIC


From: Pierre A
Subject: [Bug 1871005] [NEW] build fails on CLOCK_MONOTONIC
Date: Mon, 06 Apr 2020 00:37:42 -0000

Public bug reported:

Moc OS X.11.6 El Capitan

build fails on this

/Users/alba/Downloads/qemu-5.0.0-rc1/include/qemu/timer.h:843:9: warning: 
      implicit declaration of function 'clock_gettime' is invalid in C99
      [-Wimplicit-function-declaration]
        clock_gettime(CLOCK_MONOTONIC, &ts);
        ^
/Users/alba/Downloads/qemu-5.0.0-rc1/include/qemu/timer.h:843:23: error: use of
      undeclared identifier 'CLOCK_MONOTONIC'
        clock_gettime(CLOCK_MONOTONIC, &ts);
                      ^
1 warning and 1 error generated.
make: *** [trace/control.o] Error 1

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1871005

Title:
  build fails on CLOCK_MONOTONIC

Status in QEMU:
  New

Bug description:
  Moc OS X.11.6 El Capitan

  build fails on this

  /Users/alba/Downloads/qemu-5.0.0-rc1/include/qemu/timer.h:843:9: warning: 
        implicit declaration of function 'clock_gettime' is invalid in C99
        [-Wimplicit-function-declaration]
          clock_gettime(CLOCK_MONOTONIC, &ts);
          ^
  /Users/alba/Downloads/qemu-5.0.0-rc1/include/qemu/timer.h:843:23: error: use 
of
        undeclared identifier 'CLOCK_MONOTONIC'
          clock_gettime(CLOCK_MONOTONIC, &ts);
                        ^
  1 warning and 1 error generated.
  make: *** [trace/control.o] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1871005/+subscriptions



reply via email to

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