This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] libffi Makefile.in configure
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 22 Nov 2003 13:04:02 +0100
- Subject: [patch] libffi Makefile.in configure
Hello all,
I apologize for the situation here. I somehow did not manage to commit
the right Makefile.in and configure. The definition of MMAP in the
configure is missing.
Also a small cast for mmap in a c++ environment.
Can I commit?
For the Makefile.in and the configure I guess yes, but fot the
unwindtest.cc, is this ok as well?
Andreas
2003-11-22 Andreas Tobler <a.tobler@schweiz.ch>
* Makefile.in: Rebuilt.
* configure: Likewise.
* testsuite/libffi.special/unwindtest.cc: Convert the mmap to
the right type.
Index: testsuite/libffi.special/unwindtest.cc
===================================================================
RCS file: /cvs/gcc/gcc/libffi/testsuite/libffi.special/unwindtest.cc,v
retrieving revision 1.5
diff -u -r1.5 unwindtest.cc
--- testsuite/libffi.special/unwindtest.cc 21 Nov 2003 11:24:10
-0000 1.5
+++ testsuite/libffi.special/unwindtest.cc 22 Nov 2003 11:59:33 -0000
@@ -56,7 +56,7 @@
ffi_type * cl_arg_types[17];
int res;
#ifdef USING_MMAP
- pcl = allocate_mmap (sizeof(ffi_closure));
+ pcl = (ffi_closure*) allocate_mmap (sizeof(ffi_closure));
#else
pcl = &cl;
#endif