Build failure in syntax.c
Stephen J. Turnbull
stephen at xemacs.org
Fri Oct 7 14:06:46 EDT 2011
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
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. :-)
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.
If you're unsure, feel free to ask.
More information about the XEmacs-Beta