From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp
Newsgroups: gmane.emacs.bugs
Subject: bug#24360: 25.1;
byte-compile-error-on-warn doesn't treat all warnings as errors
Date: Sat, 03 Sep 2016 19:40:05 +0200
Message-ID:
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1472924479 25056 195.159.176.226 (3 Sep 2016 17:41:19 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 3 Sep 2016 17:41:19 +0000 (UTC)
To: 24360@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 03 19:41:15 2016
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 1bgEwM-00069j-Ab
for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Sep 2016 19:41:14 +0200
Original-Received: from localhost ([::1]:47286 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1bgEwK-0002aD-5F
for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Sep 2016 13:41:12 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60069)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1bgEwD-0002a1-Qz
for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 13:41:07 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1bgEwB-0000HP-LR
for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 13:41:04 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:51177)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1bgEwB-0000H2-HS
for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 13:41:03 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1bgEwB-0005us-6B
for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 13:41:03 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 03 Sep 2016 17:41:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 24360
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.147292442122650
(code B ref -1); Sat, 03 Sep 2016 17:41:02 +0000
Original-Received: (at submit) by debbugs.gnu.org; 3 Sep 2016 17:40:21 +0000
Original-Received: from localhost ([127.0.0.1]:48889 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1bgEvU-0005tG-NL
for submit@debbugs.gnu.org; Sat, 03 Sep 2016 13:40:20 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:40806)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1bgEvT-0005t4-1V
for submit@debbugs.gnu.org; Sat, 03 Sep 2016 13:40:19 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1bgEvM-00007o-RC
for submit@debbugs.gnu.org; Sat, 03 Sep 2016 13:40:14 -0400
Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34434)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1bgEvM-00007a-Nj
for submit@debbugs.gnu.org; Sat, 03 Sep 2016 13:40:12 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60009)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1bgEvK-0002Tn-2C
for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 13:40:11 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1bgEvI-00006N-RF
for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 13:40:09 -0400
Original-Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:36477)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1bgEvI-00005K-GI
for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2016 13:40:08 -0400
Original-Received: by mail-wm0-x22a.google.com with SMTP id c133so69778703wmd.1
for ; Sat, 03 Sep 2016 10:40:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=NVcI1yQZSbRGhP+RbxXOWJsyO5jU3ElCXlboQm4zcaA=;
b=C4IeESdfYHDvhJrfk0/AtakbNJHduUdL+i1fv4s4n4LPbwFO2Wjb/y5aDupu6m6opA
6E5qALzgRuFxX3LOL+Jbn0emFSoeykQ+AM8o3UQJjh1jGHhyM59fF/3nwfKFOXvxnho6
UZMaXbqjI0iP2bRtO6UyDetkF9NWILe56px7tEshbXOJyojCVuu36VXrMMPHkUiblbmB
iwWAt4aSTplvpC0agcuEL0213HIpoe3YtKAhZlUmotPjGbUZ/4BEBQuz1qgoQzCElPYB
L20sI+5bfSUavtYl78J3ehIkczr6K7h/eYwRPIenJNiDYUAhK+Mwl5oxOOlmpLfrvTd/
Yqmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:from:to:subject:date:message-id:mime-version
:content-transfer-encoding;
bh=NVcI1yQZSbRGhP+RbxXOWJsyO5jU3ElCXlboQm4zcaA=;
b=AC9RLwextR3YwE+I13zKKuNC0negpRdqYBIIjbcTK8NBR1N/iCuGiQJr0n3XoE+dQD
zx6mzi09p1H+ZZoaxjdb0/81l1IpOGcUlBRDZI3r8vTNW/L6abJoDsebaxKDcTcLtffX
8Ivu0H1GQRkndqrXbgKH/c3ZvKakWWcChfm9mOP0Fmzl2pn5sarRbEq8glpkRgN3XOMs
mImcd4+jH8Gukb7WoagLQjnLheZAqzAhGl7HASsDZNynX8rPdbyfQaGgy5d1AvuMGBI2
a62p635u8cohfe9FlA+T9rKqefxcmjDrRsyFAmgRKhhvl8KZsPIdyEqvfT7mR9/MYgdl
JX8A==
X-Gm-Message-State: AE9vXwOs92z3ZqctAyl/LjiJWORWBHojuhrhgXsvNx4BF9ADmC8LkysB3u3qWz8dmGbCHA==
X-Received: by 10.28.46.204 with SMTP id u195mr8006966wmu.57.1472924407535;
Sat, 03 Sep 2016 10:40:07 -0700 (PDT)
Original-Received: from phst-glaptop2 ([2001:4c50:32f:d100:b967:30f5:d68:f5d3])
by smtp.gmail.com with ESMTPSA id
i3sm16532312wjd.31.2016.09.03.10.40.06 for
(version=TLS1_2 cipher=AES128-SHA bits=128/128);
Sat, 03 Sep 2016 10:40:06 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
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:122893
Archived-At:
Create a file /tmp/a.el with the following content:
(funcall '(lambda ()))
Then run
$ emacs -batch -Q -eval '(setq byte-compile-error-on-warn t)' -f batch-byte=
-compile /tmp/a.el ; echo $?
In toplevel form:
/tmp/a.el:1:1:Warning: (lambda nil ...) quoted with ' rather than with #'
0
Expected behavior: The warning is treated as an error because
byte-compile-error-on-warn is non-nil.
Actual behavior: The warning is not treated as an error.
This is because some warnings use byte-compile-log-warning instead of
byte-compile-warn. In this case, macroexp--warn-and-return is the
culprit. Probably byte-compile-log-warning should be made internal to
bytecomp.el, and never be called except from byte-compile-warn and
byte-compile-report-error.
In GNU Emacs 25.1.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
of 2016-09-03 built on unknown
Repository revision: 803ad6f7e7a9c6bcf8a6cbf8eaad17501b114a33
Windowing system distributor 'The X.Org Foundation', version 11.0.11702000
System Description: Ubuntu 14.04 LTS
Configured features:
XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Emacs-Lisp
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
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
Mark set
Setting =E2=80=98send-mail-function=E2=80=99 temporarily since "emacs -q" w=
ould overwrite customizations
Sending...
Mark set [2 times]
Sending via mail...
Setting =E2=80=98smtpmail-smtp-server=E2=80=99 temporarily since "emacs -q"=
would overwrite customizations
Setting =E2=80=98smtpmail-smtp-service=E2=80=99 temporarily since "emacs -q=
" would overwrite customizations
Sending email=20
Sending email done
Sending...done
Load-path shadows:
None found.
Features:
(network-stream nsm starttls tls gnutls mailalias smtpmail auth-source
cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core
cl-macs gv qp cus-edit cus-start cus-load wid-edit pp 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 x-win
term/common-win x-dnd 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
inotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 119674 16537)
(symbols 48 22519 1)
(miscs 40 327 168)
(strings 32 21974 7538)
(string-bytes 1 636109)
(vectors 16 18827)
(vector-slots 8 872737 93406)
(floats 8 211 249)
(intervals 56 446 4)
(buffers 976 28)
(heap 1024 41113 5584))