GNU bug report logs - #72036
31.0.50; master doesn't build on macOS with clang 18

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Wed, 10 Jul 2024 14:11:02 UTC

Severity: normal

Found in version 31.0.50

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: 72036 <at> debbugs.gnu.org
Subject: bug#72036: 31.0.50; master doesn't build on macOS with clang 18
Date: Wed, 10 Jul 2024 16:09:50 +0200
master, HEAD a29a385ee5ea938ed17d94622c7bfd0a10e84830

timespec-sub.c:38:12: error: operand argument to checked integer operation must be an integer type
      other than plain 'char', 'bool', bit-precise, or an enumeration ('bool' invalid)
   38 |   if (v == ckd_sub (&rs, rs, borrow))
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/Cellar/llvm/18.1.8/lib/clang/18/include/stdckdint.h:38:54: note: expanded from macro
      'ckd_sub'
   38 | #define ckd_sub(R, A, B) __builtin_sub_overflow((A), (B), (R))
      |                                                      ^~~






This bug report was last modified 336 days ago.

Previous Next


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