From: Philipp Stephani <p.stephani2@gmail.com>
To: 32924@debbugs.gnu.org
Subject: bug#32924: 27.0.50; Error building master on macOS Mojave
Date: Wed, 3 Oct 2018 22:44:25 +0200 [thread overview]
Message-ID: <CAArVCkS8V02sQ5b9QdZ63xvovzp5hOV-XT6TqO49cB2ikVfLFw@mail.gmail.com> (raw)
In-Reply-To: <m25zyilrjk.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 769 bytes --]
Philipp <p.stephani2@gmail.com> schrieb am Mi., 3. Okt. 2018 um 22:12 Uhr:
>
> ./globals.h:1075:1: error: arithmetic on a null pointer treated as a cast
> from integer to pointer is a GNU extension
> [-Werror,-Wnull-pointer-arithmetic]
> ./lisp.h:835:53: note: expanded from macro 'TAG_PTR'
> LISP_INITIALLY ((Lisp_Word) ((untagged_ptr) (ptr) + LISP_WORD_TAG (tag)))
>
Some discussion around this topic:
http://releases.llvm.org/6.0.0/tools/clang/docs/ReleaseNotes.html#improvements-to-clang-s-diagnostics
, https://reviews.llvm.org/D37042,
http://lists.llvm.org/pipermail/llvm-dev/2017-July/115053.html. Given that
the TAG_PTR implementation is technically undefined behavior, would it be
possible to change the definition (e.g. to use intptr_t instead of char*)?
[-- Attachment #2: Type: text/html, Size: 1298 bytes --]
next prev parent reply other threads:[~2018-10-03 20:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-03 20:10 bug#32924: 27.0.50; Error building master on macOS Mojave Philipp
2018-10-03 20:44 ` Philipp Stephani [this message]
2018-10-09 18:19 ` 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=CAArVCkS8V02sQ5b9QdZ63xvovzp5hOV-XT6TqO49cB2ikVfLFw@mail.gmail.com \
--to=p.stephani2@gmail.com \
--cc=32924@debbugs.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 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.