GNU bug report logs - #57346
undeclared identifier 'CLOCK_MONOTONIC'

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 22 Aug 2022 20:47:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 57346 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, 57346 <at> debbugs.gnu.org
Subject: Re: bug#57346: undeclared identifier 'CLOCK_MONOTONIC'
Date: Tue, 23 Aug 2022 15:12:23 +0800
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:

> I don't know what version Glenn is building (it just says x86_74-darwin,
> AFAICT), so maybe this is not useful, so just in case...
>
> On my system it says for 'man clock_gettime'
>
> DESCRIPTION
> ...
>      CLOCK_MONOTONIC    clock that increments monotonically, tracking the time since an arbitrary point, and will
>                         continue to increment while the system is asleep.
> ...
> HISTORY
>      These functions first appeared in Mac OSX 10.12

So I guess OS X 10.12 is relatively new, and the information I saw is
out of date.  We support much older versions anyway, so if nobody has
any better ideas I will make the vsync support conditional on
clock_gettime.




This bug report was last modified 2 years and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.