------- 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

Reply via email to