This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make __always_inline macro compatible with glibc


On 2018-01-17 03:42, Sebastian Huber wrote:
> On 16/01/18 20:30, Yaakov Selkowitz wrote:
>> For example, this is used when cross-compiling the Linux kernel on
>> Cygwin.

^^^

> Which problem resolves this patch? I ask since I added this for FreeBSD
> compatibility and here the definition is still the same.

The Linux kernel's hostprogs use __always_inline without __inline__,
because glibc's __always_inline includes it.  Without this, you get a
number of "always_inline function might not be inlinable" errors.

-- 
Yaakov Selkowitz
Software Engineer - Platform Enablement Group
Red Hat, Inc.

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]