GNU bug report logs - #32444
27.0.50; lisp.h XCAR compilatiob warning

Previous Next

Package: emacs;

Reported by: Live System User <nyc4bos <at> aol.com>

Date: Wed, 15 Aug 2018 00:49:01 UTC

Severity: minor

Tags: confirmed, wontfix

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Live System User <nyc4bos <at> aol.com>
Cc: 32444 <at> debbugs.gnu.org
Subject: bug#32444: 27.0.50; lisp.h XCAR compilatiob warning
Date: Thu, 27 Jun 2019 23:08:02 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Live System User <nyc4bos <at> aol.com> writes:
>
>>         Compilation gives various warnings:
>>
>> In file included from dbusbind.c:26:0:
>> dbusbind.c: In function ‘xd_signature’:
>> lisp.h:379:38: warning: potential null pointer dereference [-Wnull-dereference]
>>  #define lisp_h_XCAR(c) XCONS (c)->u.s.car
>>                         ~~~~~~~~~~~~~~^~
>> lisp.h:1280:10: note: in expansion of macro ‘lisp_h_XCAR’
>>    return lisp_h_XCAR (c);
>>           ^~~~~~~~~~~
>
> Yes, I'm seeing the same thing.  Is this due to an old version of gcc or
> something?  I'm using "gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516".

Yes, it's not present with a newer gcc, so this is a known issue (and it
sounds like it won't be fixed (from when I reported a similar thing)),
so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 334 days ago.

Previous Next


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