Re: hardlink building issue in F26 armv7hl and i686

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

 



On Tue, 14 Feb 2017, Jakub Jelinek wrote:

> On Tue, Feb 14, 2017 at 11:23:43PM +0100, Jakub Jelinek wrote:
> > GNU89 vs. C99 inlining, that code is really old and apparently nobody
> > touched it since it has been written.

Yes, it seems most of the code was written a long time ago...

> > 
> > As everything is in a single file, either change all the inlines in the file
> > to static inline, or turn them into extern inline (in C99/C11 that means
> > if the function can't be inlined, an out of line copy is then emitted),
> > or change inline into inline __attribute__((__gnu_inline__)), or compile
> > with -fgnu89-inline.
> 
> Oh, and another option is inline __attribute__((__always_inline__))
> (with or without gnu_inline), then you force the compiler to inline it and
> so no out of line copy will be needed.

Thanks for the advice, I think I'll modernize that declarations :-)

-- 
Francisco Javier Tsao Santín
http://gattaca.es
1024D/71CF4D62  42 F1 53 35 EF 98 98 8A FC 6C 56 B3 4C A7 7D FB
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux