From: Sean Whitton <spwhitton@spwhitton.name>
To: emacs-devel@gnu.org
Subject: --enable-check-lisp-object-type lisp.h warnings
Date: Fri, 30 Sep 2022 09:16:06 -0700 [thread overview]
Message-ID: <87edvskfcp.fsf@melete.silentflame.com> (raw)
Hello,
There was a thread about this in April but I don't believe any
conclusion was reached about these particular warnings:
lisp.h:409:38: warning: potential null pointer dereference [-Wnull-dereference]
409 | #define lisp_h_XCAR(c) XCONS (c)->u.s.car
| ~~~~~~~~~~~~~~^~~~
lisp.h:1498:10: note: in expansion of macro 'lisp_h_XCAR'
1498 | return lisp_h_XCAR (c);
| ^~~~~~~~~~~
lisp.h:409:38: warning: potential null pointer dereference [-Wnull-dereference]
409 | #define lisp_h_XCAR(c) XCONS (c)->u.s.car
| ~~~~~~~~~~~~~~^~~~
I hope that it is okay to ask about this again without being able to
propose a patch -- does anyone know if these are real bug, or if not,
how to silence them? At present I have to mentally subtract 2 from the
number of warnings *Compilation* shows, and you know how those of us who
have studied Maths at university are with mental arithmetic.
--
Sean Whitton
reply other threads:[~2022-09-30 16:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edvskfcp.fsf@melete.silentflame.com \
--to=spwhitton@spwhitton.name \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).