From e89e07ccaca2b10e18798acfa436702ee2870184 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 26 Apr 2006 20:50:25 +0000 Subject: [PATCH] (store_in_keymap): Change `def' arg to not be `register'. Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8): keymap.c:895: error: address of register variable `def' requested. --- src/ChangeLog | 11 ++++++----- src/keymap.c | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 45b99584427..f01070a2a61 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2006-04-26 Stefan Monnier + + * keymap.c (store_in_keymap): Change `def' arg to not be `register'. + Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8): + keymap.c:895: error: address of register variable `def' requested. + 2006-04-26 Jason Rumney * w32term.c (construct_mouse_wheel): Handle negative coordinates. @@ -992,11 +998,6 @@ (mac_set_clip_rectangles): When resetting clip region, make it empty instead of disposing of it. -2006-02-20 Stefan Monnier - - * keymap.c (store_in_keymap): Change `def' arg to not be `register'. - Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8). - 2006-02-20 Kim F. Storm * Makefile.in: Add fringe.elc to WINDOW_SUPPORT. diff --git a/src/keymap.c b/src/keymap.c index 2a4fa196067..66f17178d5b 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -866,7 +866,7 @@ static Lisp_Object store_in_keymap (keymap, idx, def) Lisp_Object keymap; register Lisp_Object idx; - register Lisp_Object def; + Lisp_Object def; { /* Flush any reverse-map cache. */ where_is_cache = Qnil; -- 2.39.2