From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#26597: 25.1;
Compilation error on master with --enable-check-lisp-object-type
Date: Fri, 21 Apr 2017 22:05:58 +0200
Message-ID:
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1492805234 1169 195.159.176.226 (21 Apr 2017 20:07:14 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 21 Apr 2017 20:07:14 +0000 (UTC)
To: 26597@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 21 22:07:10 2017
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
by blaine.gmane.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1d1epg-00005N-9M
for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Apr 2017 22:07:09 +0200
Original-Received: from localhost ([::1]:33011 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1d1epi-0008TD-Sj
for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Apr 2017 16:07:10 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33906)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1d1epc-0008SW-6f
for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 16:07:05 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1d1epb-0000fn-07
for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 16:07:04 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:34761)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1d1epa-0000fe-R8
for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 16:07:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1d1epa-0006RR-I5
for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 16:07:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 21 Apr 2017 20:07:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 26597
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.149280517924709
(code B ref -1); Fri, 21 Apr 2017 20:07:02 +0000
Original-Received: (at submit) by debbugs.gnu.org; 21 Apr 2017 20:06:19 +0000
Original-Received: from localhost ([127.0.0.1]:32960 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1d1eot-0006QT-2x
for submit@debbugs.gnu.org; Fri, 21 Apr 2017 16:06:19 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:42840)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1d1eor-0006Q9-SV
for submit@debbugs.gnu.org; Fri, 21 Apr 2017 16:06:18 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1d1eol-0000Pn-Ak
for submit@debbugs.gnu.org; Fri, 21 Apr 2017 16:06:12 -0400
Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39595)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from )
id 1d1eol-0000Ph-6S
for submit@debbugs.gnu.org; Fri, 21 Apr 2017 16:06:11 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33806)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1d1eoj-0008Is-Ps
for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 16:06:11 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1d1eoi-0000P9-Jp
for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 16:06:09 -0400
Original-Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:33921)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1d1eoi-0000Op-9n
for bug-gnu-emacs@gnu.org; Fri, 21 Apr 2017 16:06:08 -0400
Original-Received: by mail-wr0-x231.google.com with SMTP id z109so60747934wrb.1
for ; Fri, 21 Apr 2017 13:06:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=K/u02MG+R7QOgumfnyUZ7vHuHGAFIMbbCse3A//Y9nY=;
b=i3x5TRKcUkUc5UsHTEdzjNt32eyL5+m6jNz6+DPQYUT951cgA5bm1Z9FjxFKNYmlPP
Vr9pZRy8XK1H5fmOuqfxlzcGF4nhGL9IvkfJULw6qi0jNvVQKIvrNMyCUrV4d50N4Wci
F7a4BtXtTgXCN+a2JSOF6RAsND2jrJAPE0f5o6LYphEYcMKsEwwExREqiDCwpG6a3Mha
gHAHm57eb2XAqJD8qZN9osZYrRZ/foGbTDt911jn7Q3m5KLOoWeRWUD8Nn2KijhQV0Tn
1X2pgR3CCxu2KI9JHqZ495nUjGqaRKNFhHIlTL/Pa65ZAGWRkx7vy0Xp/sBw91vbPYBt
xXMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=K/u02MG+R7QOgumfnyUZ7vHuHGAFIMbbCse3A//Y9nY=;
b=L3or8OqDVOthd2tzDhKJQTJpjbtgBuW8OsVWKT2xAsFSTr4nbC/67v5i+Fp70vWpk2
ksFsxoxQg1o03R5TrtzcSD4qJWTDKyvCEej85b+wO5QBfBR+ee8BlcZWoj9JrASq5nRA
BTRPOrB8xamiWgb1svWgr5xIBxxUotejLaIrUwrMH/BuGYo81wB3Z/NDsMei/n9AT7qw
QAGKGOP78Psa7kMwVw3nbmabRYn+wukTIt6PmKp21ce9qUrFGj/TZMlyvyEhi+EoC8xV
ANh+gGnJy7iF/v9S/AMNg4387Nz34zQbr6rZcm+Cyj5IDXgRdRiHMEWdym6IkPzbx16N
Mh6A==
X-Gm-Message-State: AN3rC/5HcuY24Tp4DhQDbancMSofHYZaPyl9iRqFG6dkamFDyUHbu+ER
Gpu0oFDU0zymDQYGrlA=
X-Received: by 10.223.133.195 with SMTP id 3mr14415250wru.173.1492805166815;
Fri, 21 Apr 2017 13:06:06 -0700 (PDT)
Original-Received: from p ([2001:4c50:25f:c000:5c36:2b84:6f7c:41ce])
by smtp.gmail.com with ESMTPSA id
a73sm4734627wrc.58.2017.04.21.13.06.05 for
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Fri, 21 Apr 2017 13:06:05 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.org gmane.emacs.bugs:131846
Archived-At:
When compiling current master with --enable-check-lisp-object-type,
compilation fails:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src VCSWITNESS=
=3D'$(srcdir)/../.git/logs/HEAD' all
gcc -c -Demacs -I. -I. -I../lib -I../lib -I/usr/X11/include -D_REENTR=
ANT -I/usr/local/Cellar/librsvg/2.40.16_1/include/librsvg-2.0 -I/usr/local/=
Cellar/gdk-pixbuf/2.36.2/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/=
1.6.29/include/libpng16 -I/usr/local/Cellar/cairo/1.14.8/include/cairo -I/u=
sr/local/Cellar/glib/2.52.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.52.=
0/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar=
/pcre/8.40/include -I/usr/local/Cellar/pixman/0.34.0/include/pixman-1 -I/us=
r/local/Cellar/fontconfig/2.12.1_2/include -I/usr/local/opt/freetype/includ=
e/freetype2 -I/usr/local/Cellar/libpng/1.6.29/include/libpng16 -I/usr/lo=
cal/Cellar/dbus/1.10.16/include/dbus-1.0 -I/usr/local/Cellar/dbus/1.10.16/l=
ib/dbus-1.0/include -MMD -MF deps/nsterm.d -MP -I/usr/local/Cell=
ar/gnutls/3.5.10/include -I/usr/local/Cellar/nettle/3.3/include -I/usr/loca=
l/Cellar/libtasn1/4.10/include -I/usr/local/Cellar/p11-kit/0.23.5/include/p=
11-kit-1 -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wn=
o-pointer-sign -Wno-string-plus-int -Wno-unknown-attributes -ggdb3 -O0 ns=
term.m
nsterm.m:6969:8: error: member reference base type 'enum z_group' is not a =
structure or union
if (!NILP (FRAME_Z_GROUP (f)))
^~~~~~~~~~~~~~~~~~~~~~~~
FRAME_Z_GROUP is indeed an enum, and NILP shouldn't be applied to it. I
guess this works by accident if --enable-check-lisp-object-type is not
set because then Lisp_Object is a plain integer.
(Tangentially, is there any reason not to define Lisp_Object as struct
unconditionally, to avoid such coding errors?)
In GNU Emacs 25.1.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 1=
0.11.6 (Build 15G1004))
of 2016-09-22 built on p
Windowing system distributor 'Apple', version 10.3.1504
Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=3D/usr/local/share/emacs/site-lisp
--infodir=3D/usr/local/Cellar/emacs/25.1/share/info/emacs
--prefix=3D/usr/local/Cellar/emacs/25.1 --without-x --with-xml2
--without-dbus --without-gnutls --with-rsvg --with-ns
--disable-ns-self-contained'
Configured features:
JPEG RSVG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
Important settings:
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
/usr/local/share/emacs/site-lisp/f/f hides /usr/local/share/emacs/site-lisp=
/f-emacs/f
/usr/local/share/emacs/site-lisp/let-alist/let-alist hides /usr/local/Cella=
r/emacs/25.1/share/emacs/25.1/lisp/emacs-lisp/let-alist
Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue cocoa ns multi-tty
make-network-process emacs)
Memory information:
((conses 16 196364 9526)
(symbols 48 19634 0)
(miscs 40 77 241)
(strings 32 15041 5419)
(string-bytes 1 436541)
(vectors 16 32909)
(vector-slots 8 654057 5600)
(floats 8 158 96)
(intervals 56 208 0)
(buffers 976 19))