all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24449: Emacs 25.1 RC2: Byte compiler reports error in wrong place.
@ 2016-09-16 11:31 Alan Mackenzie
  2016-09-16 13:22 ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Alan Mackenzie @ 2016-09-16 11:31 UTC (permalink / raw)
  To: 24449

Hello, Emacs.

Using Emacs 25.1 RC2, and lisp/progmodes/cc-engine.el from commit
33f856ba01d13f649cf5c848b322ecb0dbfc02fc (Fri Sep 16 10:47:55 2016
+0000), 

    $ emacs -Q -batch -f batch-byte-compile cc-engine.el

.  This outputs the following warning:

    In c-forward-decl-or-cast-1:
    cc-engine.el:8105:22:Warning: reference to free variable `eq'

.  The use of `eq' on L8105 is entirely correct.  The error is at L8636,
where the following appears:

    (and eq context nil
         (match-beginning 1))

.  Clearly parentheses around the `eq' form are missing.

The compiler should have output its warning for L8636, not L8105.

-- 
Alan Mackenzie (Nuremberg, Germany).





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-09-17 20:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 11:31 bug#24449: Emacs 25.1 RC2: Byte compiler reports error in wrong place Alan Mackenzie
2016-09-16 13:22 ` Eli Zaretskii
2016-09-16 13:33   ` Alan Mackenzie
2016-09-16 15:09     ` Eli Zaretskii
2016-09-16 16:08       ` Alan Mackenzie
2016-09-16 18:34       ` Alan Mackenzie
2016-09-16 19:03         ` Eli Zaretskii
2016-09-17  8:29           ` Alan Mackenzie
2016-09-17  9:35             ` Eli Zaretskii
2016-09-17 10:06               ` Andreas Schwab
2016-09-17 12:58               ` Alan Mackenzie
2016-09-17 19:56                 ` Michael Heerdegen
2016-09-17 20:46                   ` Alan Mackenzie
2016-09-17 20:51                     ` Michael Heerdegen
2016-09-17 20:59                       ` Alan Mackenzie

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.