* --enable-check-lisp-object-type lisp.h warnings
@ 2022-09-30 16:16 Sean Whitton
0 siblings, 0 replies; only message in thread
From: Sean Whitton @ 2022-09-30 16:16 UTC (permalink / raw)
To: emacs-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-30 16:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-30 16:16 --enable-check-lisp-object-type lisp.h warnings Sean Whitton
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).