Re: Ada Broken with h_errno change

2005-11-21 Thread Joel Sherrill [EMAIL PROTECTED]
Thomas Quinot wrote: * Joel Sherrill [EMAIL PROTECTED], 2005-11-17 : I hope the explanation above helps make it clearer. Yes, thanks for the clarification. In light of this explanation the proposed fix seems appropriate; maybe a comment could be added along with the extern declaration to

Re: Ada Broken with h_errno change

2005-11-21 Thread Thomas Quinot
* Joel Sherrill [EMAIL PROTECTED], 2005-11-21 : How about this? Can I commit it? Looks good, please go ahead. Thanks! Thomas. -- Thomas Quinot, Ph.D. ** [EMAIL PROTECTED] ** Senior Software Engineer AdaCore -- Paris, France -- New York, USA

Re: Ada Broken with h_errno change

2005-11-21 Thread Arnaud Charlet
How about this? Can I commit it? Please always remember to provide a changelog when submitting a patch, thanks ;-) Patch is OK, assuming reasonable changelog entry. Arno Index: gcc/ada/socket.c === --- gcc/ada/socket.c

Re: Ada Broken with h_errno change

2005-11-18 Thread Thomas Quinot
* Joel Sherrill [EMAIL PROTECTED], 2005-11-17 : I hope the explanation above helps make it clearer. Yes, thanks for the clarification. In light of this explanation the proposed fix seems appropriate; maybe a comment could be added along with the extern declaration to note that it is necessary

Re: Ada Broken with h_errno change

2005-11-17 Thread Arnaud Charlet
RTEMS has networking functions but they are not available at this stage during the build. You only have the .h files provided with newlib. So this patch is needed to make *-rtems compile again. OK to commit? Please post the corresponding ChangeLog so that this patch can be reviewed and

Re: Ada Broken with h_errno change

2005-11-17 Thread Thomas Quinot
* Joel Sherrill [EMAIL PROTECTED], 2005-11-16 : RTEMS has networking functions but they are not available at this stage during the build. I am not sure I understand how this can happen (I am not familiar at all with the RTEMS build process). If the network functions are available on RTEMS,

Re: Ada Broken with h_errno change

2005-11-17 Thread Joel Sherrill [EMAIL PROTECTED]
Thomas Quinot wrote: * Joel Sherrill [EMAIL PROTECTED], 2005-11-16 : RTEMS has networking functions but they are not available at this stage during the build. I am not sure I understand how this can happen (I am not familiar at all with the RTEMS build process). If the network functions

Ada Broken with h_errno change

2005-11-16 Thread Joel Sherrill [EMAIL PROTECTED]
As of this morning, Ada no longer compiles for *-rtems. I think this change broke it. 2005-11-14 Thomas Quinot [EMAIL PROTECTED] * socket.c (__gnat_get_h_errno): New function to retrieve h_errno, the hosts database last error code. RTEMS has networking functions but they are not