This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RTEMS Ada RTS 4.x patches


> 2005-01-17  Joel Sherrill <joel.sherrill@oarcorp.com>
> 
>         * 5rtpopsp.adb: Initialize ATCB_Key and fix style.
>         * gsocket.h: Do not include <sys/socket.h> with RTEMS either.

While we're at it, it would be better to rename the file
5rtpopsp.adb to follow the new naming scheme, e.g
s-tpopsp-rtems.adb. Same for other RTEMS ([45]r*) files.

> RTEMS does not use ATCB_Key since it has an optimized
> Self but it has to be initialized to avoid a terminating
> compiler error.  If there is a better way to get it initialized,
> I am happy to change it.

You could e.g. define a No_Key constant in
5rosinte.ads (and rename it s-osinte-rtems.ads) and use this constant to
initialize ATCB_Key.

Arno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]