On 2014-03-11 15:11, Joel Sherrill wrote:
Empty static inlines normally optimize away. So no worries there.

I always prefer static inlines over macros.

Do you have specific example? There are places this may work but
others that it cannot.

Gedare suggested to use macros instead of empty inline functions in my profiling patches. I would like to find a consensus here so that we can do it similar in the future and don't have to discuss this over again.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to