[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
--- Comment #8 from charlet at gcc dot gnu dot org 2007-11-21 13:49 --- closing then. -- charlet at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
--- Comment #7 from sam at rfc1149 dot net 2007-11-20 13:56 --- This issue can be closed as the code in init.c has changed and those warnings have been taken care of. -- sam at rfc1149 dot net changed: What|Removed |Added CC||sam at rfc1149 dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2005-10-25 20:16:50 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
--- Additional Comments From charlet at gcc dot gnu dot org 2005-09-01 10:42 --- Patch looks reasonable to me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 19:28 --- This is a bug in the freebsd specific section in init.c. -- What|Removed |Added Component|bootstrap |ada Keywords||build http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 19:51 --- According to FreeBSD man page for sigaction (http://www.freebsd.org/cgi/man.cgi?query=sigactionapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html) the following looks like it should fix it. *** init.c.~1.52.~ Sun Jul 31 23:10:03 2005 --- init.c Fri Aug 19 21:49:07 2005 *** *** 1598,1604 exceptions. Make sure that the handler isn't interrupted by another signal that might cause a scheduling event! */ ! act.sa_handler = __gnat_error_handler; act.sa_flags = SA_NODEFER | SA_RESTART; (void) sigemptyset (act.sa_mask); --- 1598,1604 exceptions. Make sure that the handler isn't interrupted by another signal that might cause a scheduling event! */ ! act.sa_handler = (void(*)(int))__gnat_error_handler; act.sa_flags = SA_NODEFER | SA_RESTART; (void) sigemptyset (act.sa_mask); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 19:57 --- More of the same: *** link.c.~1.16.~ Fri Jul 8 12:45:47 2005 --- link.c Fri Aug 19 21:55:40 2005 *** *** 154,166 const char *__gnat_object_library_extension = .a; #elif defined (__FreeBSD__) ! char *__gnat_object_file_option = ; ! char *__gnat_run_path_option = -Wl,-rpath,; char __gnat_shared_libgnat_default = STATIC; int __gnat_link_max = 8192; unsigned char __gnat_objlist_file_supported = 1; unsigned char __gnat_using_gnu_linker = 1; ! char *__gnat_object_library_extension = .a; #elif defined (linux) const char *__gnat_object_file_option = ; --- 154,166 const char *__gnat_object_library_extension = .a; #elif defined (__FreeBSD__) ! const char *__gnat_object_file_option = ; ! const char *__gnat_run_path_option = -Wl,-rpath,; char __gnat_shared_libgnat_default = STATIC; int __gnat_link_max = 8192; unsigned char __gnat_objlist_file_supported = 1; unsigned char __gnat_using_gnu_linker = 1; ! const char *__gnat_object_library_extension = .a; #elif defined (linux) const char *__gnat_object_file_option = ; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 20:11 --- 2005-08-19 Vaclav Haisma [EMAIL PROTECTED] * init.c (FreeBSD's __gnat_install_handler): Cast __gnat_error_handler to proper type. * link.c (FreeBSD's __gnat_object_file_option, __gnat_run_path_option, __gnat_object_library_extension): Make const. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 20:12 --- Errr, my surname is missing n at the end... 2005-08-19 Vaclav Haisman [EMAIL PROTECTED] * init.c (FreeBSD's __gnat_install_handler): Cast __gnat_error_handler to proper type. * link.c (FreeBSD's __gnat_object_file_option, __gnat_run_path_option, __gnat_object_library_extension): Make const. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487