Re: Issue with inline functions in dynamic libraries since GCC 5.1.0

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

 



On 26 June 2015 at 23:37, Bas Mevissen <abuse@xxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> I ran into an issue since I moved from gcc 4.9.2 (Fedora 21) to gcc
> 5.1.1 (Fedora 22) when recompiling a piece of code.

GCC 5 defaults to C11, not C90, so 'inline' now has the C99 meaning,
not the non-standard GNU inline meaning. See
https://gcc.gnu.org/gcc-5/porting_to.html

If you don't want to fix your code to conform to standard C semantics
then you can compile with -std=gnu90 to get the old language mode.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux