GNU bug report logs - #13931
24.3.50; latest trunk fails to compile on linux

Previous Next

Package: emacs;

Reported by: emacs18 <at> gmail.com

Date: Tue, 12 Mar 2013 02:52:02 UTC

Severity: normal

Tags: patch

Merged with 13929

Found in version 24.3.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 13931 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 13931 <at> debbugs.gnu.org
Subject: Re: 24.3.50; latest trunk fails to compile on linux
Date: Tue, 12 Mar 2013 15:07:08 -0700
Here's a patch that fixes things for me:

2013-03-12  Paul Eggert  <eggert <at> cs.ucla.edu>

	Fix bug that broke 'make bootstrap' (Bug#13931).
	This is presumably temporary, until Stefan gets around to a real fix.
	* emacs-lisp/byte-run.el (dont-compile, with-no-warnings):
	Revert 2013-03-10 patch for now.

=== modified file 'lisp/emacs-lisp/byte-run.el'
--- lisp/emacs-lisp/byte-run.el	2013-03-10 21:40:55 +0000
+++ lisp/emacs-lisp/byte-run.el	2013-03-12 21:53:02 +0000
@@ -378,7 +378,7 @@
 (defmacro dont-compile (&rest body)
   "Like `progn', but the body always runs interpreted (not compiled).
 If you think you need this, you're probably making a mistake somewhere."
-  (declare (debug t) (indent 0) (obsolete nil "24.4"))
+  (declare (debug t) (indent 0))
   (list 'eval (list 'quote (if (cdr body) (cons 'progn body) (car body)))))
 
 
@@ -402,9 +402,9 @@
   ;; macroexpansion.
   (list 'quote (eval (cons 'progn body) lexical-binding)))
 
+(put 'with-no-warnings 'lisp-indent-function 0)
 (defun with-no-warnings (&rest body)
   "Like `progn', but prevents compiler warnings in the body."
-  (declare (indent 0))
   ;; The implementation for the interpreter is basically trivial.
   (car (last body)))
 





This bug report was last modified 12 years and 75 days ago.

Previous Next


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