changeset 102757:8aefacf5b2ca

(delete_frame): Work around compiler bug.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 28 Mar 2009 04:52:12 +0000
parents 7efa44a52599
children e8910435fe5c
files src/frame.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Sat Mar 28 03:23:08 2009 +0000
+++ b/src/frame.c	Sat Mar 28 04:52:12 2009 +0000
@@ -1319,7 +1319,10 @@
   described for Fdelete_frame.  */
 Lisp_Object
 delete_frame (frame, force)
-     register Lisp_Object frame, force;
+     /* If we use `register' here, gcc-4.0.2 on amd64 using
+	-DUSE_LISP_UNION_TYPE complains further down that we're getting the
+	address of `force'.  Go figure.  */
+     Lisp_Object frame, force;
 {
   struct frame *f;
   struct frame *sf = SELECTED_FRAME ();