qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-2.1 0/2] drop INLINE macro from the tree


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH for-2.1 0/2] drop INLINE macro from the tree
Date: Thu, 19 Jun 2014 16:02:15 +0100

On 19 June 2014 15:36, Luiz Capitulino <address@hidden> wrote:
> Besides, renaming keywords doesn't
> look like a good practice to me. Let's just do it.

It's actually fairly common as a portability thing from
back when you might have to deal with compilers that
didn't support 'inline' or which had differing ideas
about how inline functions should be marked, when it
wasn't yet part of the C standard. INLINE was the macro
name used a lot for this.

However since QEMU has no intention of trying to deal
with ancient compilers which don't know about inline,
we gain nothing from the macro, so expanding it away
is the right thing.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]