From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: "eggert@cs.ucla.edu" <eggert@cs.ucla.edu>,
"meyering@meta.com" <meyering@meta.com>,
"72036-done@debbugs.gnu.org" <72036-done@debbugs.gnu.org>
Subject: bug#72036: 31.0.50; master doesn't build on macOS with clang 18
Date: Wed, 10 Jul 2024 16:29:30 +0000 [thread overview]
Message-ID: <fphb1GlNFuNl1rE90He4WYndXIVpyMCMJcGmA8C3W9ei6sIGuhk8kv72LwndWhcYlJnjfyfwBrSKqLHUI6etozvdTCkr7hJCzOJxlcdrKtI=@protonmail.com> (raw)
In-Reply-To: <m2plrl2pfc.fsf@pro2.fritz.box>
On Wednesday, July 10th, 2024 at 16:16, Gerd Möllmann <gerd.moellmann@gmail.com> wrote:
> Pip Cet pipcet@protonmail.com writes:
>
> > (CC'ing Paul Eggert and Jim Meyering, the relevant gnulib maintainers).
> >
> > On Wednesday, July 10th, 2024 at 14:09, Gerd Möllmann gerd.moellmann@gmail.com wrote:
> >
> > > 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))
> > > | ^~~
> >
> > The attached patch to gnulib helps here. I'm using clang version
> > 18.1.8 and the testdir-all build fails if I ./configure CC=clang.
>
>
> Thanks!
Closing this optimistically as Paul pushed a fix.
Pip
prev parent reply other threads:[~2024-07-10 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-10 14:09 bug#72036: 31.0.50; master doesn't build on macOS with clang 18 Gerd Möllmann
2024-07-10 15:38 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-10 16:16 ` Gerd Möllmann
2024-07-10 16:29 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='fphb1GlNFuNl1rE90He4WYndXIVpyMCMJcGmA8C3W9ei6sIGuhk8kv72LwndWhcYlJnjfyfwBrSKqLHUI6etozvdTCkr7hJCzOJxlcdrKtI=@protonmail.com' \
--to=bug-gnu-emacs@gnu.org \
--cc=72036-done@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=gerd.moellmann@gmail.com \
--cc=meyering@meta.com \
--cc=pipcet@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.