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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

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.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86360
-------------- 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.bin>


More information about the osmocom-sdr mailing list