conversion of the __inline__ and inline pragmas to RTEMS_INLINE_ROUTINE?

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 9 08:49:33 UTC 2011


Hi,

On 11/04/2011 09:15 PM, Cudmore, Alan P. (GSFC-5820) wrote:
> Hi,
> Is there an effort to convert the __inline__ and inline compiler pragmas into the RTEMS_INLINE_ROUTINE macro?
> I noticed that there is still a mixture of __inline__, inline, and RTEMS_INLINE_ROUTINE in 4.10.1.

I would replace all __inline__ and RTEMS_INLINE_ROUTINE with inline.  ISO C 99 
is now 12 years old.

>
> My application has a compile error with the inline pragmas due to the compiler switches we use, so I converted the header files that our app includes to use RTEMS_INLINE_ROUTINE.

What is this for a switch?

Kind regards,
	Sebastian

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list