On 10/31/2015 10:47 AM, Jan Sommer wrote:
Hi,
This patch changes the Ada-declaration of the pthread-related structs such as
pthread_attr_t from a field-equivalent declaration to just reserving the right
amount of memory.
It is only rtems related and essentially copies the way how the types are
defined in s-osinte-linux.ads. It makes the declarations independent of a
particular newlib-version and fixes the bug I filed here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68169
CC are the rtems developers for discussion.
I am ok with this patch unless Arnaud says otherwise.
I would like to apply it to 4.9 and newer.
Comments?
Best regards,
Jan
--
-- Joel Sherrill
Ask me about RTEMS: a free RTOS
Support and Training Available