[Bug ada/40608] [4.5 Regression] Ada build fails
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 4 10:50:00 GMT 2009
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2009-07-04 10:50 -------
Could you check whether the following patch fixes it?
Index: gcc/ada/init.c
===================================================================
--- gcc/ada/init.c (revision 149223)
+++ gcc/ada/init.c (working copy)
@@ -2103,6 +2103,7 @@
#include <signal.h>
#include <mach/mach_vm.h>
+#include <mach/mach_init.h>
#include <mach/vm_statistics.h>
/* This must be in keeping with System.OS_Interface.Alternate_Stack_Size. */
@@ -2140,7 +2141,7 @@
}
static void
-__gnat_error_handler (int sig, siginfo_t * si, void * uc)
+__gnat_error_handler (int sig, siginfo_t * si, void * uc ATTRIBUTE_UNUSED)
{
struct Exception_Data *exception;
const char *msg;
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40608
More information about the Gcc-bugs
mailing list