https://bugzilla.novell.com/show_bug.cgi?id=296680#c5
Michael Matz changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #5 from Michael Matz 2007-08-02 04:11:36 MST ---
Well, gcc 4.2 simply doesn't support C99 inlines. glib2 seems to want to use
them, though I would think that that was unintended (in the past GCC was less
picky about the exact syntax to define or declare inline functions).
Anyway, the headers request public inlined functions, and the addition of the
-std=c99 flag makes this request C99 inlines, whose semantic is different
from GNU inlines. GCC 4.2 doesn't support that semantic, hence the warning.
Either don't use the -std=c99 flag, or add the flag -fgnu89-inline,
which also makes this warning go away by making GCC use the GNU semantic
even in C99 mode. For reference here's the full warning message, which
also mentions this solution:
warning: C99 inline functions are not supported; using GNU89
warning: to disable this warning use -fgnu89-inline or the gnu_inline function
attribute
C99 semantic will not be ported to gcc 4.2.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.