all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: 58254-done@debbugs.gnu.org
Subject: bug#58254: 29.0.50; Untracked lib/assert.h with Clang 14
Date: Sun, 2 Oct 2022 13:20:48 -0700	[thread overview]
Message-ID: <c59296e2-9715-5789-8c11-a76c9b5d0507@cs.ucla.edu> (raw)
In-Reply-To: <87lepykxzr.fsf@tcd.ie>

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

On 10/2/22 09:10, Basil L. Contovounesios wrote:
> This file is not generated with the default CC=gcc; there is only a
> lib/assert.in.h present.

That's odd. As far as I can see, lib/assert.h is needed only if you need 
to compile lib/filevercmp.c, lib/nanosleep.c, lib/pipe2.c, 
lib/rawmemchr.c, or lib/strtoimax.c, and I don't see why choosing clang 
over gcc would affect whether these files need to be compiled.

I didn't notice the problem partly because I tested on Fedora 36, where 
none of the above files need to be compiled. Anyway, it is indeed a 
glitch on some platforms and I installed the attached patch to fix the 
annoyance. Thanks for reporting it.

[-- Attachment #2: 0001-.gitignore-Add-lib-assert.h-Bug-58254.patch --]
[-- Type: text/x-patch, Size: 529 bytes --]

From ffce59b3ade02c696f06f73f81e2df2e5f72ae07 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 2 Oct 2022 13:05:02 -0700
Subject: [PATCH] * .gitignore: Add lib/assert.h (Bug#58254).

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index eb77b2388f..c10b3b33d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,6 +53,7 @@ src/emacs-module.h
 
 # C-level sources built by 'make'.
 lib/alloca.h
+lib/assert.h
 lib/byteswap.h
 lib/dirent.h
 lib/errno.h
-- 
2.34.1


  reply	other threads:[~2022-10-02 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-02 16:10 bug#58254: 29.0.50; Untracked lib/assert.h with Clang 14 Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-02 20:20 ` Paul Eggert [this message]
2022-10-03 13:00   ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-03  2:53     ` Paul Eggert

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=c59296e2-9715-5789-8c11-a76c9b5d0507@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=58254-done@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    /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.