[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#64937: "who" reports funny dates
From: |
Bruno Haible |
Subject: |
Re: bug#64937: "who" reports funny dates |
Date: |
Thu, 10 Aug 2023 14:38:40 +0200 |
Thorsten Kukuk wrote:
> Not sure how relevant this code still is, but currently I get with this:
>
> lib/readutmp.c: In function 'get_boot_time_uncached':
> lib/readutmp.c:326:35: error: declaration of 'up' shadows a previous local
> [-Werror=shadow]
> 326 | struct timespec up =
> | ^~
> lib/readutmp.c:286:19: note: shadowed declaration is here
> 286 | struct timespec up;
> | ^~
> cc1: all warnings being treated as errors
This is merely a warning, and it's already gone after today's refactorings
in Gnulib. To get past it, either remove '-Werror' from the Makefile, or
bootstrap against the current Gnulib:
$ GNULIB_SRCDIR=<path of gnulib checkout>
$ ./bootstrap --no-git --gnulib-srcdir=$GNULIB_SRCDIR
Bruno
- Re: boot time on Linux, (continued)
- Re: boot time on Linux, Bruno Haible, 2023/08/10
- Re: boot time on Linux, Natanael Copa, 2023/08/10
- Re: boot time on Linux, Po Lu, 2023/08/10
- Re: boot time on Linux, Natanael Copa, 2023/08/10
- Re: boot time on Linux, Bruno Haible, 2023/08/10
- Re: boot time on Linux, Bruno Haible, 2023/08/09
- Message not available
- Re: bug#64937: "who" reports funny dates, Thorsten Kukuk, 2023/08/10
- Re: bug#64937: "who" reports funny dates,
Bruno Haible <=
- Message not available
- Re: bug#64937: "who" reports funny dates, Thorsten Kukuk, 2023/08/10
- Re: bug#64937: "who" reports funny dates, Paul Eggert, 2023/08/08
- Re: bug#64937: "who" reports funny dates, Bruno Haible, 2023/08/08
Re: bug#64937: "who" reports funny dates, Thorsten Kukuk, 2023/08/02
Re: bug#64937: session leaders pids, Bruno Haible, 2023/08/02