commit: Fix specifier inheritance behavior

Didier Verna didier at xemacs.org
Wed Feb 27 17:29:02 EST 2008


Vin Shelton wrote:

> This patch broke the native Windows build:
>
> e:\cygwin\usr\local\src\xemacs-21.5-test-2008-02-27\src\glyphs.c(5278)
>: error C2440: '=' : cannot convert from 'long (__cdecl
> *)(long,long,long,long,long,int)' to 'long (__cdecl
> *)(long,long,long,long,long)'
>         This conversion requires a reinterpret_cast, a C-style cast or
> function-style cast
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> Thanks for fixing this.

  Hmmm, strange I didn't get this on my Linux box. Please try the
following patch, and tell me if it fixes the problem. Thanks for
reporting this.


diff -r 515b91f904c1 src/specifier.h
--- a/src/specifier.h	Tue Feb 26 18:02:34 2008 +0100
+++ b/src/specifier.h	Wed Feb 27 23:24:09 2008 +0100
@@ -166,7 +166,8 @@ struct specifier_methods
 				     Lisp_Object matchspec,
 				     Lisp_Object domain,
 				     Lisp_Object instantiator,
-				     Lisp_Object depth);
+				     Lisp_Object depth,
+				     int no_fallback);
 
   /* Going-to-add method: Called when an instantiator is about
      to be added to a specifier.  This function can specify



-- 
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/

Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (0)1 53 14 59 22  didier at xemacs.org



More information about the XEmacs-Patches mailing list