Hi, Stephen.
On Sat, Oct 08, 2011 at 03:06:46AM +0900, Stephen J. Turnbull wrote:
Alan Mackenzie writes:
> Hi, XEmacs,
> I've just pulled and updated my XEmacs copy. When I try to
build it, I
> get these errors:
> syntax.c: In function 'Fsyntax_cache_info':
> syntax.c:197: error: 'struct syntax_cache' has no member named
'use_code'
> syntax.c:197: error: 'struct syntax_cache' has no member named
'no_syntax_table_prop'
> Is this known, or am I doing something wrong?
Those members were removed in r5552 "Fix performance regression
in
refactored syntax cache", which also did a bunch of refactoring in
syntax.c and syntax.h. Apparently your syntax.h and syntax.c are out
of sync.
My guess is that because you contributed the original ideas for the
patch in r5545 "Alan Mackenzie's syntax cache bounds fix", you got a
conflict between your code and mine in syntax.c, and it doesn't get
updated. Why you didn't notice this earlier, I can't really say. :-)
Indeed, there was such a conflict. I was kind of waiting for the error
to sort itself out. :-)
Check for up-to-date-ness with hg status and/or hg diff. Unless
you've made other changes to syntax.c or other files that you don't
want to lose, "hg update --clean" should give you a clean tree
identical to the XEmacs repo's.
"hg update --clean" did the trick. Thanks a lot!
If you're unsure, feel free to ask.
I'm getting to like Mercurial. It just seems so much slicker than bzr,
even at the basic level I'm working at. :-)
--
Alan Mackenzie (Nuremberg, Germany).
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta