# HG changeset patch # User Stefan Monnier # Date 1146084625 0 # Node ID 90c1af0130a2876c971c4e18d04bfba6313f5c39 # Parent 07c1b5999e538de40634c6027fc2fc58e827f8c7 (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. diff -r 07c1b5999e53 -r 90c1af0130a2 src/ChangeLog --- a/src/ChangeLog Wed Apr 26 20:40:18 2006 +0000 +++ b/src/ChangeLog Wed Apr 26 20:50:25 2006 +0000 @@ -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 -r 07c1b5999e53 -r 90c1af0130a2 src/keymap.c --- a/src/keymap.c Wed Apr 26 20:40:18 2006 +0000 +++ b/src/keymap.c Wed Apr 26 20:50:25 2006 +0000 @@ -866,7 +866,7 @@ 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;