GNU bug report logs - #71456
compilation error in function 'same_file'

Previous Next

Package: diffutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Sun, 9 Jun 2024 21:53:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: 71456 <at> debbugs.gnu.org
Subject: bug#71456: compilation error in function 'same_file'
Date: Sun, 09 Jun 2024 23:52:28 +0200
Compiling the current git master on
  - macOS
  - FreeBSD
  - NetBSD
  - Cygwin
  - mingw
  - MSVC

I get a compilation error:

  CC       system.o
../../src/system.c: In function 'same_file':
../../src/system.c:73:3: error: unknown type name 'timespec'; use 'struct' keyword to refer to the type
   73 |   timespec sbirth = get_stat_birthtime (s);
      |   ^~~~~~~~
      |   struct 

or

  CC       system.o
../../src/system.c:73:3: error: must use 'struct' tag to refer to type 'timespec'
  timespec sbirth = get_stat_birthtime (s);
  ^

To me, it looks like a regression in commit 1fa953a0c415cc65d0afdae2c9de0ad2bd2944eb.

Bruno







This bug report was last modified 1 year and 40 days ago.

Previous Next


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