Error compiling 'ffitest.c'

Anthony Green green@cygnus.com
Sun Aug 8 20:05:00 GMT 1999


Bryce wrote:
> After checking out the new interpreter/libffi stuff I am getting the
> following build error:

This patch, which I have just committed, should fix things:

1999-08-08  Anthony Green  <green@cygnus.com>

	* include/ffi.h.in (FFI_FN): Remove `...'.

Index: include/ffi.h.in
===================================================================
RCS file: /cvs/java/libgcj/libffi/include/ffi.h.in,v
retrieving revision 1.1
diff -u -r1.1 ffi.h.in
--- ffi.h.in    1999/08/08 22:58:30     1.1
+++ ffi.h.in    1999/08/09 02:51:07
@@ -383,7 +383,7 @@
              /*@dependent@*/ void **avalue);
 
 /* Useful for eliminating compiler warnings */
-#define FFI_FN(f) ((void (*)(...))f)
+#define FFI_FN(f) ((void (*)())f)
 
 /* ---- Definitions shared with assembly code ---------------------------- */

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California


More information about the Java mailing list