This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Error compiling 'ffitest.c'
- To: bryce@albatross.co.nz
- Subject: Re: Error compiling 'ffitest.c'
- From: Anthony Green <green@cygnus.com>
- Date: Sun, 8 Aug 1999 19:53:04 -0700 (PDT)
- CC: java-discuss@sourceware.cygnus.com, java-patches@sourceware.cygnus.com
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