[PATCH] Fix inline functions to use 'static inline'

David Woodhouse dwmw2 at infradead.org
Fri Jun 29 09:40:20 UTC 2018

On Thu, 2018-06-28 at 20:29 +0200, Steve Markgraf wrote:
> Hi David,
> On 28.06.2018 17:43, David Woodhouse wrote:
> > 
> > With just 'inline', if the compiler decides not to inline them, it isn't
> > required to emit them at all. For some targets with -Os that is causing
> > build failures.
> "It isn't required to emit them at all" - What the heck, which compiler
> on earth does such horrible things?
> I've taken at look at the C99 standard for the function specifier
> 'inline' and there is nothing that would justify such behaviour.
> Of course, if that's a bug with a specific compiler version we can merge
> that, but the explanation in the commit doesn't make any sense to me.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5213 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20180629/9e91a411/attachment-0001.bin>

More information about the osmocom-sdr mailing list